โ† HSBC questions

Maximum Subarray Sum Optimization

Filed under HSBC

Find the maximum sum of a contiguous subarray within a one-dimensional array of numbers (Kadane's Algorithm).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related HSBC questions

Collected from public candidate posts and coding forums. Updated Nov 2026.