Page 1 of 1

What will be the resulting array after rotating arr[]={1, 2, 3, 4, 5} by 2?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) 2, 1, 3, 4, 5
b) 3, 4, 5, 1, 2
c) 4, 5, 1, 2, 3
d) 1, 2, 3, 5, 4