Given a collection of words and a query prefix, return all words that start with the prefix.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Given a dictionary of words, find all words matching a prefix.Given a string and a list of strings, return all strings from the list that are substrings of the string.Given a list of words, find the number of prefix pairs, i.e. pairs i, j where words[i] == words[j] or words[i].startswith(words[j]) or words[j].startswith(words[i]).Related courses

Course

Course
Course
