Construct List using XOR Queries | GFG

I have explained the solution using two different approach 1. Difference array 2. Without using difference array Watch the video till the end to have better understanding of problem and its solution Time Complexity : O(q.log(q)) Space Complexity : O(1) #array #bitmanipulation #competitiveprogramming #programming #gfg