Nagarro interview question

WAP: to reverse circular link list