Swapping Nodes in a Linked List
Problem Statement:-
You are given the head of a linked list, and an integer k.
Return the head of the linked list after swapping the values of the k<sup>th</sup> node from the beginning and the k<sup>th</sup> node from the end (the list is 1-indexed*...
techie-sagar.hashnode.dev3 min read