Do i really need lazy propagation in segment tree question( range updates)?

Правка en1, от TTMMM, 2019-11-19 12:54:35

How important is lazy propagation in competitive programming? It takes me a lot of time to implement it. How do i get to know weather it is required or not by looking at the constraints? I mean, what is the complexity of a algorithm with and without it?

Теги #segment tree, #lazy propagation, #fenwick tree, #competitive

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский TTMMM 2019-11-19 12:54:35 336 Initial revision (published)