You are viewing a single comment's thread. Return to all comments →
Thats true. I got accepted for test case 8 using right rotation. We need to choose :
If #rotations < (size /2) Use Left Rotation If #rotations > (size /2) Use Right Rotation
Seems like cookies are disabled on this browser, please enable them to open this website
Left Rotation
You are viewing a single comment's thread. Return to all comments →
Thats true. I got accepted for test case 8 using right rotation. We need to choose :
If #rotations < (size /2) Use Left Rotation If #rotations > (size /2) Use Right Rotation