Reverse a linked list using pointers (C programming language)
Anonymous
Is the below answer correct? temp = head; while (next!=null){ if (current==null){return;} temp = current; current = next; next = temp; } return current, next; }
Check out your Company Bowl for anonymous work chats.