Rotate List

Given a linked list, rotate it to the right by k places and return the head.

Examples
Input: [[1,2,3,4,5],2]
Output: [4,5,1,2,3]
Hints

Rotate List

Given a linked list, rotate it to the right by k places and return the head.