WD Interview Question

Linked List rotation question, pretty simple