摘要:
The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order,We get the following sequence 阅读全文
posted @ 2017-01-07 15:42
lettuan
阅读(116)
评论(0)
推荐(0)
摘要:
Implement int sqrt(int x). 思路: Binary Search 阅读全文
posted @ 2017-01-07 11:53
lettuan
阅读(104)
评论(0)
推荐(0)
摘要:
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, 阅读全文
posted @ 2017-01-07 08:13
lettuan
阅读(120)
评论(0)
推荐(0)
摘要:
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2017-01-07 00:00
lettuan
阅读(187)
评论(0)
推荐(0)

浙公网安备 33010602011771号