Swap Kth node from beginning with Kth node from end in a Linked List

mediumSolve on LeetCodeLast edited: August 2, 2025