Domanda di colloquio di Amazon

first interview OOP question second interview DFS question