2016年8月29日

Sudoku Solver

摘要: Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that there will be 阅读全文

posted @ 2016-08-29 21:24 Sheryl Wang 阅读(140) 评论(0) 推荐(0) 编辑

Merge Intervals

摘要: 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]. 这题和Inser 阅读全文

posted @ 2016-08-29 16:54 Sheryl Wang 阅读(139) 评论(0) 推荐(0) 编辑

Insert Interval

摘要: 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 @ 2016-08-29 16:16 Sheryl Wang 阅读(158) 评论(0) 推荐(0) 编辑

导航