Skip to content

Commit 968766d

Browse files
authored
Merge pull request #2 from parikshit223933/patch-1
Update maximumxorsub.cpp
2 parents 18b988e + 362951f commit 968766d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tries/maximumxorsub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ int query(TrieNode *root, int pre_xor)
9494
}
9595

9696
// Returns maximum XOR value of a subarray in arr[0..n-1]
97-
int maxSubarrayXOR(int arr*, int n)
97+
int maxSubarrayXOR(int *arr, int n)
9898
{
9999
// Create a Trie and insert 0 into it
100100
TrieNode *root = newNode();

0 commit comments

Comments
 (0)