Page 1 of 1

Which of the following algorithm to rotate an array has the maximum time complexity?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) rotate elements one by one
b) juggling algorithm
c) reversal algorithm
d) using a temporary array