摘要:
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl... 阅读全文
posted @ 2014-12-31 07:42
Phoebe815
阅读(195)
评论(0)
推荐(0)
摘要:
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ... 阅读全文
posted @ 2014-12-31 05:47
Phoebe815
阅读(264)
评论(0)
推荐(0)

浙公网安备 33010602011771号