Блог пользователя MrDepomposition

Автор MrDepomposition, история, 4 года назад, По-русски

hello pleasy dont downvote me, it is my fourth blog, today i want to talk about segment tree
why are we using segment trees for calculating sums, when we can use operator + ? please dont laugh at me i am newbie help

  • Проголосовать: нравится
  • -36
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Before Segment Trees you might want to check what Prefix Sum is.

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

It is way cooler