You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: solution/1800-1899/1850.Minimum Adjacent Swaps to Reach the Kth Smallest Number/README_EN.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,13 @@
10
10
11
11
<ul>
12
12
<li>For example, when <code>num = "5489355142"</code>:
13
-
14
13
<ul>
15
14
<li>The 1<sup>st</sup> smallest wonderful integer is <code>"5489355214"</code>.</li>
16
15
<li>The 2<sup>nd</sup> smallest wonderful integer is <code>"5489355241"</code>.</li>
17
16
<li>The 3<sup>rd</sup> smallest wonderful integer is <code>"5489355412"</code>.</li>
18
17
<li>The 4<sup>th</sup> smallest wonderful integer is <code>"5489355421"</code>.</li>
19
18
</ul>
20
19
</li>
21
-
22
20
</ul>
23
21
24
22
<p>Return <em>the <strong>minimum number of adjacent digit swaps</strong> that needs to be applied to </em><code>num</code><em> to reach the </em><code>k<sup>th</sup></code><em><strong> smallest wonderful</strong> integer</em>.</p>
0 commit comments