Sort Sprint
Level
1
Swaps
0
Optimal
0
Score
0
Tap two bars to swap them. Sort ascending in as few swaps as possible.
The optimal swap count =
n − (number of permutation cycles)
. Any-two-elements swaps allowed.
↻ Reshuffle
▶ Optimal demo
SORTED!
Next level