Why not simple sol?

Cant we just remove the last element and add it as first node and repear this process n times??

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