Vidyalelo
Data Structure · Q50

Arrays in Data Structures

Programming · Data Structure · question 50

Q50

What is the time complexity of the juggling algorithm to rotate an array?

A.
O(1)
B.
O(n)
Answer
C.
O(d)
D.
O(n*d)

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board