recent PayPal technical question
Anonymous User
221

so this question is not something i encountered a senior of mine did in PayPal SDE-I technical round.
the question is:

Q)You are given a list of words. For each word, you must find the shortest prefix that uniquely identifies it among all other words in the list.
Return a list of such unique prefixes for all words in the input list.
time:20min (explicitly said by the interviewer)

Comments (1)