Question d’entretien chez Amazon

tree and graph problem and a system design question