摘要: Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ... 阅读全文
posted @ 2014-07-04 21:06 SunshineAtNoon 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?判断一... 阅读全文
posted @ 2014-07-04 20:03 SunshineAtNoon 阅读(414) 评论(0) 推荐(1) 编辑