my sol : https://ide.codingblocks.com/s/254588
according to me the code shouldn’t give TLE !!!
can u pls tell me why is it giving TLE and how can i optimize it further in order to pass all the TCs ??
i don’t understand whether there is some problem with the tcs in segment tree challenge section as 2 more problems gave TLE which were optimal according to the constraints