Given an array of N integers, find the pair of integers in the array which have minimum XOR value. Report the minimum XOR value.
XOR
Examples : Input 0 2 5 7 Output 2 (0 XOR 2)…