Page 1 of 1

What will be the auxiliary space complexity of the code to rotate an array by using the reversal algorithm (d = number o

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) O(1)
b) O(n)
c) O(d)
d) O(n*d)