- 博客(2)
- 收藏
- 关注
原创 [268]Missing Number
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example, Given nums = [0, 1, 3] return 2. Note: Your algorithm shoul
2015-08-25 22:34:32 136
原创 [164]Maximum Gap
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 if the array contains less than 2 elements
2015-08-24 11:35:12 180
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人