Amazon Interview Question

how you think abpouth the problems