Problem when n>=130

i this question sir has taken n in a consecutive form , but it is not compulsary na. so how can two consecutive position values xor become 1 ???

at 3:02 sec it is there

Hi
it is compulsory to take the consecutive numbers, only then the xor of these two numbers will be of type : …00…1…000… ( number will contain only 1 and rest will be zero , it is not 1 as this number is in binary format )

we are taking consecutive numbers to apply pigen hole principal.

Hit like if you get it
Cheers!

Hi

if your doubt is cleared please mark it resolved in you online course.
Thanks!

my doubt is not yot cleared

hi

are able to understand what i said?

it is compulsory to take the consecutive numbers, only then the xor of these two numbers will be of type : …00…1…000… ( number will contain only 1 and rest will be zero , it is not 1 as this number is in binary format )

we are taking consecutive numbers to apply pigen hole principal.

you can call me after 10:30 on 8750354215 i’ll explain you

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.