UNSQUERS - Editorial

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.