Separate negative and positive numbers in an array
Filed under CarWale
The question
Separate negative numbers to the left and positive numbers to the right in an array without sorting.
No write-up yet. Related questions below have one.
Related CarWale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.