Domanda di colloquio di Amelia

Was asked to reverse a list and explain logic