Skip to content

Commit 0e134ad

Browse files
nhistoryDaleSeo
andauthored
Update design-add-and-search-words-data-structure/nhistory.js
Co-authored-by: Dale Seo <[email protected]>
1 parent 6b6b880 commit 0e134ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ WordDictionary.prototype.search = function (word) {
3232
}
3333
};
3434

35-
// n: number of node | m: length of the word
35+
// n: number of words | m: length of the word
3636
// TC: O(n*m)
3737
// SC: O(n*m)

0 commit comments

Comments
 (0)