Simplify the logic a bit to save one iteration to the linked list to get last node of the list since it was obtained previously when finding the rotation point node.