update readme

master
Furkan Türkal 7 years ago
parent 63a2d62c54
commit 0a14bf1f5e

@ -6,10 +6,12 @@
## What It Is
* Write a function rotate(ar[], d, n) that rotates `arr[]` of size `n` by `d` elements
* Write a function `rotate(ar[], d, n)` that rotates `arr[]` of size `n` by `d` elements
`1 2 3 4 5 6 7`
* Rotation of the above array by 2 will make array
* Rotation of the above array by `2` will make array
`3 4 5 6 7 1 2`
**METHOD 1 (Use temp array)**

Loading…
Cancel
Save