ServiceNow Interview Question

Reverse linked list Palindrome query