heyyolol's blog

By heyyolol, history, 7 years ago, In English

Hi everyone, does (2D range add update, and range sum queries) fenwick and segment tree exist?

If there is could someone kindly provide me ur code? Thanks :)

I tried googling but I didn't find anything really useful. :( Edit: Like by range I mean for e.g. (a,b) to (c,d), for a<=c && b<=d.

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
7 years ago, hide # |
Rev. 2  
Vote: I like it +5 Vote: I do not like it

2-D Fenwick: