Maximum xor hackerrank. Constraints : 1 ≤ L ≤ R ≤ 1000.

Maximum xor hackerrank. Note:^ is the bitwise XOR operation.