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 hints

Topics

Also asked at 65 companies


More Microsoft Questions

View all Microsoft questions