Question d’entretien chez LinkedIn

Nested List sum? (Both regular and reverse)