InterviewDB
Question
Rearrange String Array - Interleave Positive and Negative Integers
phone
Question Details
Problem Given an array of strings representing integers (e.g., ["-3","1","-2","4","5","-1"]), rearrange the array so that positive and negative numbers alternate, starting with a positive number. The relative order within positives and within negativ…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone
Arrays
Strings