Range XOR : Tries

Can you please provide me with the implementation part of this question. I was struggling a little bit.
It would be better if you could provide java implementation, otherwise c++ will also do.

@aman_ishan hey here is code for reference ,dry run it you will get it:
https://ide.codingblocks.com/s/168746?_ga=2.62218468.95256106.1584124297-1940767847.1534408565

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.