Leetcode Intersection Of Two Linked Lists Java