Cant we just remove the last element and add it as first node and repear this process n times??
Why not simple sol?
hey @bhavik911
Cant we just remove the last element and add it as first node and repear this process n times??
Answer :Yes you can do it this way