Pregunta de entrevista de Fujitsu

How to reverse a singly linked list.

Respuesta de la entrevista

Anónimo

9 nov 2017

Divide the list in two parts - first node and rest of the linked list. Call reverse for the rest of the linked list. Link rest to first. Fix head pointer.

1