Maximum XOR with Same Bit Length

Company: Microsoft

Difficulty: medium