Domanda di colloquio di Amazon

coding with 1 OOD and 1 algorithm question