Back to Question
How do you sort an array containing only 0s, 1s, and 2s?
Question Explain
This problem tests your knowledge of the Dutch National Flag algorithm. It evaluates your ability to sort in-place with minimal passes.
This problem tests your knowledge of the Dutch National Flag algorithm. It evaluates your ability to sort in-place with minimal passes.