摘要: 题目描述: Given a sorted array, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra sp 阅读全文
posted @ 2018-01-31 16:49 宵夜在哪 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Write a function to find the longest common prefix string amongst an array of strings. 读入一个char**和字符串的数量strSize,返回所有字符串前面相同的字符(char*类型). 解题思路: 将 阅读全文
posted @ 2018-01-31 15:21 宵夜在哪 阅读(104) 评论(0) 推荐(0) 编辑