Amazon interview question

Coding question: Search using tries