Implement `trieHasPrefix(words, prefix)` returning whether any stored word starts with `prefix`.
+ 1 hidden test run on Submit.
Reaching the end of the prefix path means some word continues from there. O(prefix length).
Run your code to see results.