04 2016 档案

摘要:题目描述: Implement pow(x, n). 解题思路: 注意n可能是INT_MIN。 阅读全文
posted @ 2016-04-13 10:50 skycore 阅读(131) 评论(0) 推荐(0)
摘要:题目描述: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may 阅读全文
posted @ 2016-04-06 21:39 skycore 阅读(147) 评论(0) 推荐(0)
摘要:题目描述: Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: Elements in a subset must be in non-desce 阅读全文
posted @ 2016-04-04 21:06 skycore 阅读(155) 评论(0) 推荐(0)