Amazon Interview Question

easy/medium lc problems and questions