You are viewing a single comment's thread. Return to all comments →
array[(i+n-d)%n] = scan.nextInt();
How did you come up with this idea? I was puzzled with this task for two days and still didn't succeed in it...
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 →
How did you come up with this idea? I was puzzled with this task for two days and still didn't succeed in it...