Solved LeetCode program · 75 of 1,000
#0075 · Sort Colors
Original English source
The colors is a list of 2, 0, 2, 1, 1, and 0. Sort colors. For each color in colors, show color.
Expected stdout
0 0 1 1 2 2
Solved LeetCode program · 75 of 1,000
The colors is a list of 2, 0, 2, 1, 1, and 0. Sort colors. For each color in colors, show color.
0 0 1 1 2 2