R2: How to reverse a linked list?
Anonymous
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.
Check out your Company Bowl for anonymous work chats.