Amazon Interview Question

Coding question: Search using tries