Frage im Vorstellungsgespräch bei Indus Valley Partners

Round 1 - Q.2 code for largest sum subarray.