You are viewing a single comment's thread. Return to all comments →
Cmon! What were you thinking to arrive at this? Awesome Math!
oldM = (n + (m - (rot % n))) % n
Seems like cookies are disabled on this browser, please enable them to open this website
Circular Array Rotation
You are viewing a single comment's thread. Return to all comments →
Cmon! What were you thinking to arrive at this? Awesome Math!