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.
I got confused by the Trie discussion, but the reason to avoid that is because we are not talking about substrings, we are talking about prefix-strings.
Man I took a long time to get it.
Thank you friends.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Contacts
You are viewing a single comment's thread. Return to all comments →
I got confused by the Trie discussion, but the reason to avoid that is because we are not talking about substrings, we are talking about prefix-strings.
Man I took a long time to get it.
Thank you friends.