Amazon interview question

give a simple solution to a complex problem.