AbdulazizMohamed's blog

By AbdulazizMohamed, history, 4 years ago, In English

Please give some online judge problems in which prefix sum( also known as cumulative sum) technique is useful. and freuqancy array

| Write comment?
»
4 years ago, # |
Rev. 2   Vote: I like it +9 Vote: I do not like it
  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    can you tell me how to approach RANGESUM using prefix array. We're adding a new element every time here, we'll have to calculate prefix sum every time.

»
17 months ago, # |
  Vote: I like it +1 Vote: I do not like it

try edu