Learn
Practice
Interview
Resources
Newsletter
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Sort an Array
Bookmark
Input
Standard
Small
Reverse Sorted
Already Sorted
Nearly Sorted
All Equal
Custom
arr
=
[38, 27, 43, 3, 9, 82, 10]
38
0
27
1
43
2
3
3
9
4
82
5
10
6
38
0
27
1
43
2
3
3
9
4
82
5
10
6
38
0
27
1
43
2
3
3
9
4
82
5
10
6
left
right
27
0
38
1
43
2
3
3
9
4
82
5
10
6
left
right
27
0
38
1
3
2
43
3
9
4
82
5
10
6
left
right
27
0
38
1
3
2
43
3
9
4
82
5
10
6
temp[]
3
0
27
1
38
2
43
3
3
0
27
1
38
2
43
3
9
4
82
5
10
6
3
0
27
1
38
2
43
3
9
4
82
5
10
6
3
0
27
1
38
2
43
3
9
4
10
5
82
6
left
right
3
0
27
1
38
2
43
3
9
4
10
5
82
6
temp[]
3
0
9
1
10
2
3
0
9
1
10
2
27
3
38
4
43
5
82
6
algo
master
.
io
Step:
Start: Sort array using recursive merge sort
0 / 78
Input
Standard
Small
Reverse Sorted
Already Sorted
Nearly Sorted
All Equal
Custom
arr
=
[38, 27, 43, 3, 9, 82, 10]
0 / 78
algo
master
.
io
Step:
Start: Sort array using recursive merge sort