We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
after looking at the discussions i get that the question is looking for a Trie implementation. but i just can't see how the following solution doesn't work for all the test cases, because as far as i can see it satisfies every requirement in the question:
No Prefix Set
You are viewing a single comment's thread. Return to all comments →
after looking at the discussions i get that the question is looking for a Trie implementation. but i just can't see how the following solution doesn't work for all the test cases, because as far as i can see it satisfies every requirement in the question: