XOR! Wait for it(XORNEY)
In the above problem it is given in the Constraints that 1≤L≤R≤10^18 it means that we need to must not use any loop other than the testcase loop.
I haven’t used any other loops but its still showing TLE. PLEASE HELP!!
My solution::-> Solution