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.
Hi, dk201966. Probably you are facing problems because the order you are doing the changes.
If you copy the value from the 1st position to the 2nd one and, after this, you copy the 2nd to the 3rd, at the end you will have all the positions with the 1st value.
And don't forget saving the last value before overwriting it!
PS: you'll probably face other issues with this challenge...
Circular Array Rotation
You are viewing a single comment's thread. Return to all comments →
Hi, dk201966. Probably you are facing problems because the order you are doing the changes. If you copy the value from the 1st position to the 2nd one and, after this, you copy the 2nd to the 3rd, at the end you will have all the positions with the 1st value. And don't forget saving the last value before overwriting it! PS: you'll probably face other issues with this challenge...