Question d’entretien chez Cisco

Write logic to reverse a linked list.