plz can you explain what actually you are doing in your code by some text and example
bro please explain me the changes happening in segment tree and how are you constructing go_forward and go_back in starting?btw very nice iplementation according to understanding of video.
What does this line mean? I have seen it being used in many editorials.
Will LCIS work for this problem?
Or is it must to use the setter’s method?