上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: Problem statement: Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters o 阅读全文
posted @ 2017-05-11 08:26 蓝色地中海 阅读(249) 评论(0) 推荐(0)
摘要: Problem statement: 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 阅读全文
posted @ 2017-05-11 05:29 蓝色地中海 阅读(157) 评论(0) 推荐(0)
摘要: Problem statement: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence 阅读全文
posted @ 2017-05-11 02:26 蓝色地中海 阅读(190) 评论(0) 推荐(0)
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning 阅读全文
posted @ 2017-05-10 10:35 蓝色地中海 阅读(156) 评论(0) 推荐(0)
摘要: Problem statement: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioni 阅读全文
posted @ 2017-05-10 10:28 蓝色地中海 阅读(288) 评论(0) 推荐(0)
摘要: Problem statement: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a s 阅读全文
posted @ 2017-05-10 09:14 蓝色地中海 阅读(435) 评论(0) 推荐(0)
摘要: Problem statement Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example 阅读全文
posted @ 2017-05-09 09:17 蓝色地中海 阅读(126) 评论(0) 推荐(0)
摘要: Problem statement: Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Exam 阅读全文
posted @ 2017-05-09 07:58 蓝色地中海 阅读(180) 评论(0) 推荐(0)
摘要: Problem statement: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrang 阅读全文
posted @ 2017-05-09 07:04 蓝色地中海 阅读(132) 评论(0) 推荐(0)
摘要: Problem statement: Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. 阅读全文
posted @ 2017-05-08 10:16 蓝色地中海 阅读(360) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页