Pregunta de entrevista de ThirdEye AI

R2: How to reverse a linked list?

Respuesta de la entrevista

Anónimo

18 jul 2023

prev = next = NULL, curr = head next = curr -> next curr -> next = prev prev = curr curr = next I got a little bit confused while answering this question.