InMobi Interview Question

Write a program to rotate a linked list from a position.