Amazon interview question

1 OOD + 1 DFS