Skip to content

Commit 362951f

Browse files
Update maximumxorsub.cpp
1 parent 18b988e commit 362951f

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)