Challenge 8: Right Rotate an Array by One
With the given array, rotate its elements by one index from right to left.
We'll cover the following...
We'll cover the following...
Problem statement
Implement a function rightRotate(int arr[], int size)
, which takes an array arr and rotates it right by 1
. ...