Available question text
Given an array of ±1, you may flip the signs of any adjacent pair (multiply two consecutive elements by -1) up to k times; decide whether you can make all elements equal. The core challenge is computing the minimal number of adjacent-pair toggles required (efficiently for n up to 1e5) and checking if it is ≤ k.
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 3576. Transform Array to All Equal Elements
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source