Maximum Subarray at Amazon
Medium53.0% acceptance
This problem has 75.0% frequency at Amazon.
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 Amazon Questions
Two SumEasyTrapping Rain WaterHardBest Time to Buy and Sell StockEasyNumber of IslandsMediumMedian of Two Sorted ArraysHard
View all Amazon questions