Amazon interview question

Biggest Challenge