摘要: Description:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one tra... 阅读全文
posted @ 2015-10-07 23:32 Pickle 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Description:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).Find the minimum e... 阅读全文
posted @ 2015-10-07 23:08 Pickle 阅读(188) 评论(0) 推荐(0) 编辑