s:aabp:c*a*bMatch?
hardGrind 75

Regular Expression Matching

Regular Expression Matching is about turning repeated work into a reusable state instead of re-solving subproblems. It's a hard one for a reason: it stresses state-and-transition thinking when the rules pile up. Don't rush the code—spend your time nailing the state definition first.

StringBacktrackingDynamic Programming
👩‍🏫
👨‍💼

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free · No sign up · Early access
1Regular Expression Matchinghard
Based onLeetCode

Get this problem sent to your inbox