<p>You are given the <code>head</code> of a linked list, and an integer <code>k</code>.</p>
<p>Return <em>the head of the linked list after <strong>swapping</strong> the values of the </em><code>k<sup>th</sup></code><em>node from the beginning and the </em><code>k<sup>th</sup></code><em>node from the end (the list is <strong>1-indexed</strong>).</em></p>