Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. Alan Kay
Write a program to swap the second node from the head node to the second node from the tail node in linked list. The singly linked list allows only forward iteration and does not support backward iteration.
Print the list of items: 1->2->3->4->5->6->7->8->NULL Print the list of items after pairwise Swap: 1->7->3->4->5->6->2->8->NULL