...

/

Challenge 8: Right Rotate an Array by One

Challenge 8: Right Rotate an Array by One

With the given array, rotate its elements by one index from right to left.

Problem statement

Implement a function rightRotate(int arr[], int size), which ...