Boostable

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

2014年9月4日

摘要: LeetCode: Sort ColorsGiven an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colo... 阅读全文
posted @ 2014-09-04 21:56 Boostable 阅读(173) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Minimum Window SubstringGiven a string S and a string T, find the minimum window in S which will contain all the characters in T in complexi... 阅读全文
posted @ 2014-09-04 21:23 Boostable 阅读(334) 评论(0) 推荐(0) 编辑

摘要: LeetCode: CombinationsGiven two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solu... 阅读全文
posted @ 2014-09-04 20:59 Boostable 阅读(214) 评论(0) 推荐(0) 编辑

摘要: LeetCode: Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacen... 阅读全文
posted @ 2014-09-04 20:48 Boostable 阅读(319) 评论(0) 推荐(0) 编辑