Hi All!
I am trying to solve this problem. I have read editorial. But I am unable to understand how to do query of type 3 . Would anyone please help me with this ?