Skip to content
RED SAGSkills
medium10 pts · first answer countsdynamic-programmingstrings

Handling "*" in regex matching DP

In the DP for matching a pattern with "." and "*" (where x* means zero or more x), which cases apply when p[j - 1] is "*"?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions