Topic: Linked List Problem / Level: beginner

Problem: How do you swap the head and tail of a doubly linked list?

Run the code to see the output here...