Reverse a singly linked list.
Anonymous
traverse the list from root to last item and save in a stack, then pop the stack until empty, insert each element in a new linked list, last item will be root.
Check out your Company Bowl for anonymous work chats.