We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Not sure about that. The instructions are two fold, and they distinguish between rotations and printing. I think it's expecting the values to physically shift.
"perform left rotations on the array. Then print the updated array as a single line of space-separated integers."
Arrays: Left Rotation
You are viewing a single comment's thread. Return to all comments →
Not sure about that. The instructions are two fold, and they distinguish between rotations and printing. I think it's expecting the values to physically shift.
"perform left rotations on the array. Then print the updated array as a single line of space-separated integers."