C++ Playground - Finding the maximum sum of subarray: Online Interpreter, Compiler & Editor | Sololearn