Regular Expression Matching — 2-D DP

Decide whether a tiny pattern language with a wildcard dot and a repeat marker accepts a whole given string, rather than a fragment of it.

2-D DP · Hard

More in 2-D DP

All algorithm problems