摘要: Given an interval list which are flying and landing time of the flight. How many airplanes are on the sky at most?ExampleFor interval list[[1,10],[2,3... 阅读全文
posted @ 2015-05-14 22:19 Eason Liu 阅读(2591) 评论(1) 推荐(2) 编辑
摘要: Given an integer array, find a subarray with sum closest to zero. Return the indexes of the first number and last number.ExampleGiven [-3, 1, 1, -3, 5... 阅读全文
posted @ 2015-05-14 21:23 Eason Liu 阅读(1106) 评论(0) 推荐(0) 编辑
摘要: There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 you have to firs... 阅读全文
posted @ 2015-05-14 00:11 Eason Liu 阅读(1380) 评论(0) 推荐(0) 编辑