Even though my code is able to pass 1 test case, it is giving an run time error in other two cases and I am not sure about the caus eof this error. I am creating a trie of the given range and them calculating the MAximum XOR pair from that Trie. The logic seems to work perfectly to me.
Please help!!
Here is my code : https://ide.codingblocks.com/s/415239