Range XOR giving TLE

My code is correct and has less time complexity but than also it’s giving TLE …
This is the link to my code Please check…


yours has some minor issues, you can look at this code, it has comments too, it iwll help you out