Deep Dive
Dutch National Flag
75. Sort Colors · Arrays & Strings · 5 of 78
1/8
Sort 0s, 1s and 2s in one pass
In this lessonStep 1 of 8 · ← → keys
The question
Sort an array of 0s, 1s and 2s in place, in one pass.
75. Sort Colors · Arrays & Strings · 5 of 78
Sort 0s, 1s and 2s in one pass
Sort an array of 0s, 1s and 2s in place, in one pass.