Cisco interview question

Rotate given linked list using head pointer