Maximum Subarray at Apple
Medium53.0% acceptance
This problem has 75.0% frequency at Apple.
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 Apple Questions
Two SumEasyMerge IntervalsMediumBest Time to Buy and Sell StockEasyNumber of IslandsMediumLongest Common PrefixEasy
View all Apple questions