Linked List Intersection Leetcode Solutions Java