Pergunta de entrevista da empresa PTC

Invert a singly linked list in C

Resposta da entrevista

Sigiloso

25 de fev. de 2022

Iterate over the list and for each node swap the next ptr to the prev ptr, and continue to the next node.