Question d’entretien chez Accenture

How to flatten a nested list