CodingReported in a candidate post, Oct 2022
Segregate positive and negative integers in an array
Filed under Cohesity
The question
Segregate positive integers on one side and negative ones to another in an array with O(1) space.
No write-up yet. Related questions below have one.
Related Cohesity questions
Collected from public candidate posts and coding forums. Updated Nov 2026.