MiniProject
MiniProject
Implement the given functions using linked lists. All of the linked list code in the
solution should use the "classic" singly linked list structure: A single head pointer
points to the first node in the list. Each node contains a single .next pointer to the next
node. The .next pointer of the last node is NULL. The empty list is represented by a
NULL head pointer.
2) MoveNode(InList1, InList2)
Given two lists, the function removes the front node from the second list and pushes
it onto the front of the first.
5) Reverse(InList, OutList)
Write an iterative function that reverses a list by rearranging all the .next pointers and
the head pointer. Ideally, Reverse() should only need to make one pass of the list. Try
writing a recursive solution for the same problem.