mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00:00
Fix trie's doesWordExists method.
This commit is contained in:
parent
392cd9806d
commit
571d9312cd
@ -39,6 +39,8 @@ export default class Trie {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if complete word exists in Trie.
|
||||
*
|
||||
* @param {string} word
|
||||
* @return {boolean}
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user