Max xor=a xor b?In all cases? as a^a=0&b^b=0?

hi @anonymouslevone_98393e5729c3116b,
the question says u r give left and right bounds, u have to find max xor u can obtain by considering all pairs in that bound

eg [5,6] --> pairs {5,5}, {5,6}, {6,6} max xor here is of {5,6} i.e 3

refer here only if u r having implementation difficulties and after u have tried https://ide.codingblocks.com/s/656553