You are viewing a single comment's thread. Return to all comments →
The problem definition is incorrect.
It states that: idx = (x ⊕ lastAnswer)
But it should read: idx = (x ⊕ lastAnswer) % n
where n is one of the input variables.
Seems like cookies are disabled on this browser, please enable them to open this website
Dynamic Array
You are viewing a single comment's thread. Return to all comments →
The problem definition is incorrect.
It states that: idx = (x ⊕ lastAnswer)
But it should read: idx = (x ⊕ lastAnswer) % n
where n is one of the input variables.