Wildcard Matching
Hard
String DP Classics
Match a string against a pattern where '?' matches one character and '*' matches any sequence (including empty). Print YES or NO for a full match.
Constraints
0 <= |s|, |p| <= 2000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.