Two Sigma Interview Question

wildcard matching on leetcode. ~ 45 min time limit