Write a function
ListNode *removeFirst(ListNode *ptr)
that is passed a linked list as parameter, and returns the tail of the list: that is, it removes the first node and returns what is left. The function should deallocate the storage of the removed node. The function returns NULL if the list passed to it is empty.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.