原文:[LeetCode] 290. Word Pattern 词语模式

Given apatternand a stringstr, find ifstrfollows the same pattern. Herefollowmeans a full match, such that there is a bijection between a letter inpatternand anon emptyword instr. Example : Example : ...

2015-10-06 13:21 9 12380 推荐指数:

查看详情

[LeetCode] Word Ladder 词语阶梯

Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord ...

Sat May 30 15:06:00 CST 2015 19 19950
[LeetCode] Word Pattern II

Problem Description: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match ...

Mon Oct 12 08:08:00 CST 2015 0 4723
[LeetCode] 79. Word Search 词语搜索

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 ...

Thu Mar 12 22:24:00 CST 2015 11 17339
[LeetCode] 132 Pattern 132模式

Given a sequence of n integers a1, a2, ..., an, a 132 pattern is a subsequence ai, aj, ak such that i < j < k ...

Sun Nov 20 08:58:00 CST 2016 11 14155
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM