Skip to content

Commit 053d6f0

Browse files
committed
Update word-pattern.cpp
1 parent 535620e commit 053d6f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

C++/word-pattern.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Time: O(n)
22
// Space: O(c), c is unique count of pattern and words
33

4-
// Time: O(n)
5-
// Space: O(c), c is count of pattern
6-
74
class Solution {
85
public:
96
bool wordPattern(string pattern, string str) {

0 commit comments

Comments
 (0)