Given the head of a linked list, rotate the list to the right by k places.
Rotate list by 2 positions to the right
1
→
2
3
4
5
null
Phase: counting