Boostable

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

2014年9月1日

摘要: LeetCode: Partition ListGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.Y... 阅读全文
posted @ 2014-09-01 22:16 Boostable 阅读(195) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Scramble StringGiven a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is o... 阅读全文
posted @ 2014-09-01 22:08 Boostable 阅读(222) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (... 阅读全文
posted @ 2014-09-01 21:56 Boostable 阅读(183) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n represen... 阅读全文
posted @ 2014-09-01 21:53 Boostable 阅读(214) 评论(0) 推荐(0) 编辑