mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-27 15:41:16 +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
|
* @param {string} word
|
||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user