Fix trie's doesWordExists method.

This commit is contained in:
Oleksii Trekhleb 2018-08-21 23:03:04 +03:00
parent 392cd9806d
commit 571d9312cd

View File

@ -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}
*/ */