Please read the new rule regarding the restriction on the use of AI tools. ×

Help Needed

Revision en1, by sonusingh.nitaa, 2020-04-28 20:58:59

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

Tags help needed, #data structure

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sonusingh.nitaa 2020-04-28 20:58:59 292 Initial revision (published)