Regular Expression Matching
Hard
Dynamic Programming
Implement matching of string s against pattern p supporting '.' (any single char) and '*' (zero or more of the preceding element). The match must cover the entire string. Print true or false.
Constraints
1 <= len(s) <= 20 1 <= len(p) <= 20
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.