Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Sort Colors
Bookmark
Input
Example 1
Example 2
Example 3
Custom
nums
=
[2, 0, 2, 1, 1, 0]
nums
2
0
2
1
1
0
algo
master
.
io
Step:
Start: Sort colors using Dutch National Flag algorithm
0 / 18
Input
Example 1
Example 2
Example 3
Custom
nums
=
[2, 0, 2, 1, 1, 0]
0 / 18
nums
2
0
2
1
1
0
algo
master
.
io
Step:
Start: Sort colors using Dutch National Flag algorithm