Question d’entretien chez Oracle

reverse a linked list when head is given as input.