can you explain the question
Unable to understand the question
What is not understood
You are given an array and Q queries of two types.
Type 0: Given a number x , insert the number at the last of the array.
Type 1: Given a number X and two integers L, R, Find a number Y in the range L, R to maximize X ^ Y
if you have type 0 then inset no in array
if type 1 then find max xor of given no with array elements in the given range