<p>The <strong>distance of a pair</strong> of integers <code>a</code> and <code>b</code> is defined as the absolute difference between <code>a</code> and <code>b</code>.</p>
<p>Given an integer array <code>nums</code> and an integer <code>k</code>, return <em>the</em><code>k<sup>th</sup></code><em>smallest <strong>distance among all the pairs</strong></em><code>nums[i]</code><em>and</em><code>nums[j]</code><em>where</em><code>0 <= i < j < nums.length</code>.</p>