- 博客(2)
- 收藏
- 关注
原创 【leetcode】26. Remove Duplicates from Sorted Array
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this by modifyi...
2019-04-01 21:23:34 138
原创 【leetcode】14. Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: ["flower","flow","flight"] Output:...
2019-04-01 18:08:47 158
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人