Question d’entretien chez Amazon

Technical question - trees with use case