Amazon Interview Question

A recent mistake