Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
swap receives two index positions as parameters and swaps the two nodes (the nodes, not just the values inside) at these positions, provided both...
Add methods to the existing class
Modify author's "MyLinkedList" class to add the following methods.
Perform checking of the parameters and throw exceptions where appropriate.
Link code: http://users.cis.fiu.edu/~weiss/dsaajava3/code/MyLinkedList.java