You are viewing a single comment's thread. Return to all comments →
Just adding a comment because I understood this incorrectly. Size is the y % length of seqList[index].
So it is the length of the sub-array in the seqList array with an index ( seq ) calcuated from the original XOR ( ( x ^ lastAnswer ) % N ).
Size = y % len( seqList[seq] )
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 →
Just adding a comment because I understood this incorrectly. Size is the y % length of seqList[index].
So it is the length of the sub-array in the seqList array with an index ( seq ) calcuated from the original XOR ( ( x ^ lastAnswer ) % N ).
Size = y % len( seqList[seq] )