Rokt Interview Question

Pattern matching. Given a string s1 and a pattern in s2, check if they match. Sorta like Regex pattern matching.