摘要:
题目链接Given 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 solution is:[ [2,4], ... 阅读全文
posted @ 2013-12-06 15:50
tenos
阅读(3634)
评论(0)
推荐(1)
摘要:
题目链接Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "ad... 阅读全文
posted @ 2013-12-06 15:34
tenos
阅读(2190)
评论(5)
推荐(1)
摘要:
LeetCode:Remove Duplicates from Sorted ListGiven a sorted linked list, delete all duplicates such that each element appear only once.For example, Give... 阅读全文
posted @ 2013-12-06 15:24
tenos
阅读(1094)
评论(0)
推荐(0)
摘要:
LeetCode:Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return th... 阅读全文
posted @ 2013-12-06 14:49
tenos
阅读(1044)
评论(0)
推荐(0)
摘要:
题目链接Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example, S = "ADOB... 阅读全文
posted @ 2013-12-06 14:01
tenos
阅读(6958)
评论(4)
推荐(3)

浙公网安备 33010602011771号