Subarray with maximum xor-trie data structure

According to the explanation given in the video , there will be no case when suppose the complete array when xored will give the maximum xor----but this type of case can occur----how will we handle this case-----

hello @ankur8632
to handle such case insert 0 in trie before applying algorithm.