a) rotate elements one by one
b) juggling algorithm
c) reversal algorithm
d) using a temporary array
Which of the following algorithm to rotate an array has the maximum time complexity?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following algorithm to rotate an array has the maximum time complexity?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!