Capgemini Interview Question

in coding : reverse a linked list swap two numbers in linkedlist