Skip to content

Commit 9c0fc60

Browse files
committed
Add 290 note.
1 parent 79d07f5 commit 9c0fc60

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

solutions/290.Word_Pattern/readme.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## 290. Word Pattern (Easy)
2+
3+
### **链接**
4+
题目:https://leetcode.com/problems/word-pattern/
5+
代码(github):https://github.com/illuz/leetcode
6+
7+
### **题意**
8+
给出 pattern 和 str,问 pattern 里的字符串和 str 里的单词是否一一配对。
9+
10+
### **分析**
11+
12+
可以先对 str 进行分词,也可以一边遍历 pattern 一边分词。
13+
`字符->字符串` 可以用 map 也可以用 array。
14+

0 commit comments

Comments
 (0)