Amazon Interview Question

If I had any experience