help on segment tree

Правка en2, от vikas11111, 2023-06-21 10:49:48

I wants to do this question with segment tree
i know i can change element in logn time but how i can check there at least on segment available or not according to the que

que link link

plz help

Теги segment tree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский vikas11111 2023-06-21 10:49:48 11 Tiny change: 'k](http://https://codefor' -> 'k](http://codefor'
en1 Английский vikas11111 2023-06-21 10:47:38 310 Initial revision (published)