Maximum Subarray (Kadane) — JavaScript medium interview problem
Given an integer array `nums`, find the contiguous subarray with the largest sum and return that sum.
Tags: kadane, dp
Practice this Arrays problem free in the JS Interview Playground with automated tests and unlockable solutions.