Amazon interview question

Implement a find command interface