mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08: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…
Reference in New Issue
Block a user