Pairwise Swap Of A Linked List Leetcode Questions On Python