Sort an array of characters 'a' and 'b'
Filed under CarWale
The question
Given an array containing only characters 'a' and 'b', sort the array.
No write-up yet. Related questions below have one.
Related CarWale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.