VotaryTech interview question

Write a program to swap two nodes in linked list.