Amazon Interview Question

nothing difficult and all