Amazon Interview Question

1 OOD + 1 DFS