InMobi interview question

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