Hacktober-Fest-2021 icon indicating copy to clipboard operation
Hacktober-Fest-2021 copied to clipboard

Array Rotation in C++ using Juggling algorithm

Open Aryan283 opened this issue 3 years ago • 2 comments

PROBLEM Let's suppose if you're provided with an array = [ 1 ,2 ,3 ,4 ,5 ,6 ]

and you're required to rotate the array by 2

so your output should be as follows 3 4 5 6 1 2

Can you please assign me the same?

Aryan283 avatar Oct 01 '21 16:10 Aryan283