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.

What does this line mean? I have seen it being used in many editorials.

ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);

Will LCIS work for this problem?
Or is it must to use the setter’s method?