You are viewing a single comment's thread. Return to all comments →
The problem prompt idx = (x XOR lastAnswer) doesn't say that it should be modulo'ed by the size of the array.
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 prompt idx = (x XOR lastAnswer) doesn't say that it should be modulo'ed by the size of the array.