Amazon interview question

Gmat exercises