You are viewing a single comment's thread. Return to all comments →
Yes when the number of rotations is too big you need to use use rotations mod number of prisoners
Circular Array Rotation
You are viewing a single comment's thread. Return to all comments →
Yes when the number of rotations is too big you need to use use rotations mod number of prisoners