Pergunta de entrevista da empresa Publicis Sapient

Implement Queue using two stacks Given an array of strings, you had to report all the strings which were prefixes of some other string in the array. (Hint: Use Tries)