2015年1月18日

Search for a Range

摘要: Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord... 阅读全文

posted @ 2015-01-18 16:08 luckygxf 阅读(171) 评论(0) 推荐(0)

Next Permutation

摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl... 阅读全文

posted @ 2015-01-18 15:37 luckygxf 阅读(163) 评论(0) 推荐(0)

导航