mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-06 17:44:08 +08:00
Fix trie's doesWordExists method.
This commit is contained in:
@ -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}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user