update readme.md

master
Furkan Türkal 7 years ago
parent 34babbb156
commit 63a2d62c54

@ -6,11 +6,11 @@
## What It Is
-Write a function rotate(ar[], d, n) that rotates `arr[]` of size `n` by `d` elements
-1 2 3 4 5 6 7
* 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
-3 4 5 6 7 1 2
* 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