Solution to Maximizing XOR
Solution Sherlock and the Beast

Including test case input and output