Linked List Problem In Leetcode Two Sum 2