Sunday, December 24, 2017

Leetcode 10: regular expression matching

Dec. 24, 2017

Introduction


It is the hard level algorithm in Leetcode. Leetcode 10 is also called regular expression matching. I have practiced over ten times, and I always choose to use recursive solution.

I had a mock interview and the peer solved Leetcode 10 using dynamic programming.

Code review 


Plan to study the dynamic programming solution. Here is the Java code.




No comments:

Post a Comment