ascending-subarray-empty-input-crashes

Status: IN

Passing an empty list raises `IndexError` on `nums[0]`; the function relies on the LeetCode guarantee that `nums` is non-empty rather than handling this edge case.

Source: entries/2026/06/06/maximum-ascending-subarray-sum-solution.md

JSON