mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +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