Hacktober-Fest-2021
Hacktober-Fest-2021 copied to clipboard
Array Rotation in C++ using Juggling algorithm
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?