Maximum Subarray at Microsoft
Medium53.0% acceptance
This problem has 75.0% frequency at Microsoft.
Problem Description
Given an integer array `nums`, find the subarray with the largest sum, and return _its sum_.
Read full problem and hintsTopics
Also asked at 65 companies
More Microsoft Questions
Two SumEasyMedian of Two Sorted ArraysHardLongest Palindromic SubstringMediumContainer With Most WaterMediumLongest Common PrefixEasy
View all Microsoft questions