- 博客(2)
- 收藏
- 关注
转载 Leetcode-26-easy Remove Duplicates from Sorted array
Leetcode-26-easy Remove Duplicates from Sorted array Question Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not alloca...
2017-02-28 15:56:00 132
转载 Leetcode-easy-2 Longest common prefix
Leetcode-easy-2 Longest common prefix Qusetion Write a function to find the longest common prefix string amongst an array of strings. Solution 1 Horizontal scanning 作为算法小白,第一个想到的就是这种方法了。只要遍历比较全...
2017-02-28 15:52:00 119
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人