What methods does your linked list have that could be used for swapping?
how do i pass the nodes that i want to swap
As arguments to the swap method: swap(node1, node2);
with content 5 and node with content 4
As args: swap(5,4);
If the findNodeAtIndexN method returns a Node object, then
would be calling the same method as the first one above: swap(node1, node2);
I don't know what would be simpler way to specify what nodes to swap than those two methods.