上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: 标题:Word Search通过率:20.0%难度:中等Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially ... 阅读全文
posted @ 2015-03-19 11:37 pku_smile 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 标题:Subsets II通过率:27.5难度:中等Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must b... 阅读全文
posted @ 2015-03-16 20:35 pku_smile 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 标题:Subsets通过率:28.2%难度:中等Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The ... 阅读全文
posted @ 2015-03-16 15:32 pku_smile 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 标题:Palindrome Partitioning通过率:26.3%难度:中等Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible pali... 阅读全文
posted @ 2015-03-16 15:29 pku_smile 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 标题:Combinations通过率:30.5%难度:中等Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution... 阅读全文
posted @ 2015-03-16 15:22 pku_smile 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 标题:Binary Tree Zigzag Level Order Traversal通过率:26.5%难度:中等Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from le... 阅读全文
posted @ 2015-03-14 13:57 pku_smile 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 标题:Populating Next Right Pointers in Each Node II通过率:31.7%难度:难Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tr... 阅读全文
posted @ 2015-03-13 12:20 pku_smile 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 标题:Populating Next Right Pointers in Each Node通过率:36.1%难度:中等Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *r... 阅读全文
posted @ 2015-03-13 12:18 pku_smile 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 标题:Remove Duplicates from Sorted Array II通过率:30.7%难度:中等ollow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given ... 阅读全文
posted @ 2015-03-12 22:40 pku_smile 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 标题:Flatten Binary Tree to Linked List通过率:28.7%难度:中等Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ ... 阅读全文
posted @ 2015-03-12 22:32 pku_smile 阅读(132) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页