Skip to content
RED SAG Skills
medium10 pts · first answer countssorting-and-searching

Sort an array of 0s, 1s and 2s

An array holds only 0, 1 and 2. What is the best possible time and extra space to sort it?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions