Leetcode 1035. Uncrossed Lines | Hello Interview