Amazon interview question

A recent mistake