Solve the wildcard matching problem in leetcode. The recursive version is much easier to understand and implement but it cannot pass the large data set. Eventually solved this problem by following the solution in leetcode discussion by using DP. O(s*p) time, O(s) space.
Merge branch 'master' of https://github.com/niyue/coding