摘要: 题目描述:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space ... 阅读全文
posted @ 2014-04-14 21:11 mrbean 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 今天第一次在leetcode上提交了一个题目,据说这个网站基本上都是名企面试笔试题,今天无意一进去就看到第一题居然就是昨天的腾讯实习生笔试题,赶紧注册了个账号做题。题目描述:Given an input string, reverse the string word by word.For exam... 阅读全文
posted @ 2014-04-14 00:31 mrbean 阅读(1253) 评论(0) 推荐(0) 编辑