sonusingh.nitaa's blog

By sonusingh.nitaa, history, 4 years ago, In English

I am trying to solve this problem on Hackerrank.

https://www.hackerrank.com/challenges/the-strange-function/problem

I am not able to understand how to quickly find: (sum of subarray) — (maximum of subarray)

Please anyone explain how to solve this. Thanks in advance

Full text and comments »