Boostable

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页

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 阅读(274) 评论(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 阅读(282) 评论(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 阅读(332) 评论(0) 推荐(0) 编辑

2014年8月23日

摘要: LeetCode: Clone GraphClone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serializatio... 阅读全文
posted @ 2014-08-23 19:11 Boostable 阅读(191) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Gas StationThere are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited ... 阅读全文
posted @ 2014-08-23 18:36 Boostable 阅读(277) 评论(0) 推荐(0) 编辑

摘要: LeetCode: CandyThere are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to th... 阅读全文
posted @ 2014-08-23 13:57 Boostable 阅读(200) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Single NumberGiven an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a... 阅读全文
posted @ 2014-08-23 11:56 Boostable 阅读(192) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node ... 阅读全文
posted @ 2014-08-23 11:29 Boostable 阅读(221) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页