Leetcode Intersection Of Two Linked Lists Implementation Of Policy