2014年12月20日

[leetcode] Trapping Rain Water

摘要: Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr... 阅读全文

posted @ 2014-12-20 16:32 cha1992 阅读(120) 评论(0) 推荐(0) 编辑

[leetcode] Longest Consecutive Sequence

摘要: Longest Consecutive SequenceGiven an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4... 阅读全文

posted @ 2014-12-20 15:49 cha1992 阅读(120) 评论(0) 推荐(0) 编辑

导航