I am not getting desired output for range xor problem
Range xor hashing
hello @div_yanshu07 have you studied 'TRIE ’ data structure ?
because this is the question which is implemented with the help of the trie data structure .
Okay , thankyou! I’ll try using trie.
yes @div_yanshu07 please try using this and ask the doubt again if you are unable to then you can raise the doubt again .
Happy Learning !!
@div_yanshu07in your brute force implementation also you have to check with which element the result is coming to be maximum and you have to print that element of the array in output .
check this :
Happy Learning !!
Okay, I understood. Trie is little complicated for me that’s why I was trying brute force implementation.
@div_yanshu07 yes i understand you can try the corrected code as i have corrected it .
if you feel that your doubt is cleared now please mark this doubt as resolved and do hit the like .
Happy Learning !!