how can i approach this problem?
i have done in O(n**2) ,
if any other solution , please ?
How can i approach this problem?
another approach for this problem is to use trie.
pls refer this article for approach-> https://www.geeksforgeeks.org/find-the-maximum-subarray-xor-in-a-given-array/