help on segment tree

Revision en1, by vikas11111, 2023-06-21 10:47:38

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

Tags segment tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vikas11111 2023-06-21 10:49:48 11 Tiny change: 'k](http://https://codefor' -> 'k](http://codefor'
en1 English vikas11111 2023-06-21 10:47:38 310 Initial revision (published)