Alternate positive and negative numbers in-place
Filed under Vivriti Capital
The question
Rearrange an array of positive and negative numbers to alternate negative and positive numbers in-place, appending excess positive numbers at the end without changing relative orders.
No write-up yet. Related questions below have one.
Related Vivriti Capital questions
Collected from public candidate posts and coding forums. Updated Nov 2026.