
单词
文章平均质量分 81
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 139. Word Break(单词分隔)
原题网址:https://leetcode.com/problems/word-break/ Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.原创 2016-05-27 00:22:29 · 836 阅读 · 0 评论 -
LeetCode 127. Word Ladder(单词梯子)
原题网址:https://leetcode.com/problems/word-ladder/ Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWor原创 2016-05-27 00:26:28 · 1161 阅读 · 0 评论 -
LeetCode 140. Word Break II(单词切分)
原题网址:https://leetcode.com/problems/word-break-ii/ Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word. Return al原创 2016-05-27 00:22:25 · 2922 阅读 · 0 评论 -
LeetCode 291. Word Pattern II(单词模式II)
原题网址:https://leetcode.com/problems/word-pattern-ii/ Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection bet原创 2016-04-16 04:00:07 · 1237 阅读 · 0 评论