Sort binary array in one pass
Filed under Ajio
The question
Sort an array containing only 0s and 1s in a single pass.
No write-up yet. Related questions below have one.
Related Ajio questions
Collected from public candidate posts and coding forums. Updated Nov 2026.