AlgoPlusAlgoPlus
AlgoPlusPlayground
input =
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Press Run to trace your code
8
0
3
1
5
2
1
3
9
4
2
5
7
6
4
7
6
8
compareswaptrackedpivotsorted
0 / 0
Booting sandbox…