SailPoint Technologies interview question

Linked list reversing using one point