摘要: 题目: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 space 阅读全文
posted @ 2015-12-06 22:23 JSRGFJZ6 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en 阅读全文
posted @ 2015-12-06 22:22 JSRGFJZ6 阅读(102) 评论(0) 推荐(0) 编辑