I am trying to swap nodes in a linked list.
First of all I am trying to swap 2 nodes that are next to each other and are not start or finish nodes:
Surely this logic should work.
If you see that it does not then please suggest any changes.
Just hints otherwise it will be classed as cheating.