Incorrect sample cases in Google OA Xor question
Anonymous User
101

I got the question for finding the kth maximum of XOR(i, j) on a matrix and it was stated that if multiple values have the same xor value return the smallest pair (i, j).
XOR(i, j) is defined as the xor of all elements A(a, b) where 1 <= a <= i and 1 <= b <= j.
However, I felt that a lot of the sample cases for the problem did not conform to the description. I was able to pass all the hidden cases but not the sample ones.

Did anyone observe this as well?

Comments (2)