Reverse a linked list using pointers (C programming language)
Antwort im Vorstellungsgespräch
Anonym
13. Mai 2016
Is the below answer correct?
temp = head;
while (next!=null){
if (current==null){return;}
temp = current;
current = next;
next = temp;
}
return current, next;
}