You are viewing a single comment's thread. Return to all comments →
i think they forgot to mention for index computation it should be moudulos of n
for query 1 it should be
idx = (x ^ lastAnswer) % n
for query 2
gguys with this you can try yoursself
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 →
i think they forgot to mention for index computation it should be moudulos of n
idx = (x ^ lastAnswer) % n
idx = (x ^ lastAnswer) % n
gguys with this you can try yoursself