Amazon interview question

The most complex problem I've ever worked on.