Skip to main content

Command Palette

Search for a command to run...

Regular Expression Matching

Published
1 min read

🧠 Problem

Regular Expression Matching

Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' where: The matching should cover the entire input string (not partial).


🏷️ Tags

string, Dynamic Programming, Recursion


📊 Difficulty

Hard

✅ Success Rate: 28.2%
📥 Submissions: 2,370,376
📈 Accepted: 668,919


❤️ Reactions

👍 Likes: 7928
👎 Dislikes: 1177


💡 Hints


🔁 Similar Questions

  • Wildcard Matching

Leetcode Link : Regular Expression Matching