jaguar1996's blog

By jaguar1996, history, 8 years ago, translation, In English

Hi everybody!

I am solving problem that need addition on a segment and getting sum and minimum on a segment. I have some problem with lazy propagation.

Can you share your code with Segment tree. Preferably recursively)

Full text and comments »

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