Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 5 , 2 , 3 ] NEW_LINE queries = [ 3 , 8 , 7 ] NEW_LINE n = len ( arr ) NEW_LINE q = len ( queries ) NEW_LINE sumOfXors ( arr , n , queries , q ) NEW_LINE DEDENT