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]).
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.


