Leetcode Intersection Of Two Linked Lists Vs Arrays In Python