Largest Subarray to Negate for Maximum Sum
Filed under Visa
The question
Given an array of numbers, find the largest contiguous subarray whose elements should be negated to obtain the maximum possible total sum of the array.
No write-up yet. Related questions below have one.
Related Visa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.