# Empty Array not allowed

{% embed url="<https://leetcode.com/problems/maximum-subarray/>" %}

{% content-ref url="solutions" %}
[solutions](https://algorithm.prettylog.com/algorithm-problems/daily-algorithms/4.-maximum-sub-array-sum/solutions)
{% endcontent-ref %}
