Domanda di colloquio di Aman

reverse a linked list, and another to remove duplicates from an array.