Boostable

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年8月24日

摘要: LeetCode: Word LadderGiven two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such th... 阅读全文
posted @ 2014-08-24 20:07 Boostable 阅读(276) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Longest Consecutive SequenceGiven an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,G... 阅读全文
posted @ 2014-08-24 19:37 Boostable 阅读(283) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Sum Root to Leaf NumbersGiven a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is t... 阅读全文
posted @ 2014-08-24 19:27 Boostable 阅读(219) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Surrounded RegionsGiven a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.A region is captured by flipping all 'O's i... 阅读全文
posted @ 2014-08-24 19:15 Boostable 阅读(190) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Palindrome PartitionGiven a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome ... 阅读全文
posted @ 2014-08-24 18:56 Boostable 阅读(335) 评论(0) 推荐(0) 编辑