Pergunta de entrevista da empresa Rambler

Reverse a single linked list with one iteration.

Resposta da entrevista

Sigiloso

25 de fev. de 2015

Just iterate through the list and "turn back" the pointers. Update head pointer in the end.

1