Leetcode 290. Word Pattern | Hello Interview