Topic: Mathematics Problem / Level: intermediate

Problem: Write a program to calculate the maximum sum of a contiguous subarray.

Run the code to see the output here...