valid palindrome, intersection of two linked lists