Skip to content

Commit 7f57e00

Browse files
committed
solve: design add and search words data structure
1 parent e1c705d commit 7f57e00

File tree

1 file changed

+1
-1
lines changed
  • design-add-and-search-words-data-structure

1 file changed

+1
-1
lines changed

design-add-and-search-words-data-structure/wogha95.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var WordDictionary = function () {
1111

1212
/**
1313
* TC: O(N)
14-
* SC: O(1)
14+
* SC: O(N)
1515
*/
1616

1717
/**

0 commit comments

Comments
 (0)