DrawCode Practice Problem

Maximum Subarray

Given an integer array `nums`, find the contiguous subarray with the largest sum and return that sum.


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer