Boostable

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

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) 编辑