上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: QuestionA traditional constructing tree problem.Given a string to represent relationships, and print out number n level names.For example,Input:"Frank... 阅读全文
posted @ 2015-10-15 02:05 树獭君 阅读(358) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepe... 阅读全文
posted @ 2015-10-14 13:12 树獭君 阅读(181) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven a set of distinct integers,nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set ... 阅读全文
posted @ 2015-10-14 12:01 树獭君 阅读(170) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequential... 阅读全文
posted @ 2015-10-14 09:02 树獭君 阅读(194) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven 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... 阅读全文
posted @ 2015-10-14 05:23 树獭君 阅读(218) 评论(0) 推荐(0) 编辑
摘要: QuestionDesign a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word o... 阅读全文
posted @ 2015-10-13 10:20 树獭君 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Question Implement a trie with insert, search, and startsWith methods. Note:You may assume that all inputs are consist of lowercase letters a-z. Solut 阅读全文
posted @ 2015-10-13 07:53 树獭君 阅读(204) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is l... 阅读全文
posted @ 2015-10-12 05:44 树獭君 阅读(178) 评论(0) 推荐(0) 编辑
摘要: QuestionGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm s... 阅读全文
posted @ 2015-10-12 05:11 树獭君 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Question Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord to endWord 阅读全文
posted @ 2015-10-10 21:56 树獭君 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页