DSA Key Problems

Maximum Subarray

Given an integer array, return the greatest sum among all nonempty contiguous subarrays.