Amazon Interview Question

coding with 1 OOD and 1 algorithm question