Skip to content

Commit 571d931

Browse files
committed
Fix trie's doesWordExists method.
1 parent 392cd98 commit 571d931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data-structures/trie/Trie.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export default class Trie {
3939
}
4040

4141
/**
42+
* Check if complete word exists in Trie.
43+
*
4244
* @param {string} word
4345
* @return {boolean}
4446
*/

0 commit comments

Comments
 (0)