Not understood how this is solved

How to solve this question, I am not able to understand the video for this question

Hey @divyansh0003
In this problem you will be given two inputs, lets say x and y. You have to find the maximum xor value of two numbers between x and y. For eg : user inputs x as 3 and y as 7. Then the numbers between 3 and 7, both included, are 3,4,5,6,7. You have to pair up all the numbers and find which pair has the max xor value. After finding the maximum xor value you have to print it. Just give it a try

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.