• + 0 comments

    Great solution. Instead of finding the maximum of the array, you found the maximum of addition and handled the range by subtracting the "sum" after the range is over. Brilliant thinking. Hats off!