2015年12月5日

89. Gray Code (Bit)

摘要: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num 阅读全文

posted @ 2015-12-05 11:46 joannae 阅读(170) 评论(0) 推荐(0) 编辑

57. Insert Interval (Array; Sort)

摘要: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initia 阅读全文

posted @ 2015-12-05 10:36 joannae 阅读(155) 评论(0) 推荐(0) 编辑

56. Merge Intervals (Array; Sort)

摘要: Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18]. 注意点: 1。并不是 阅读全文

posted @ 2015-12-05 10:35 joannae 阅读(139) 评论(0) 推荐(0) 编辑

边界检测

摘要: 比大小时=的情况leetcode:42 阅读全文

posted @ 2015-12-05 07:33 joannae 阅读(168) 评论(0) 推荐(0) 编辑

导航