Sorting 0s, 1s, and 2s
Filed under LeadSquared
The question
Implement an algorithm to sort an array consisting only of 0s, 1s, and 2s.
No write-up yet. Related questions below have one.
Related LeadSquared questions
Collected from public candidate posts and coding forums. Updated Nov 2026.