Available question text
Given an even-length array with an equal number of positive and negative integers, produce a new array that starts with a positive and alternates signs for every consecutive pair while preserving the original relative order among all positives and among all negatives.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2149. Rearrange Array Elements by Sign
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source