Back to Questions

Wildcard Matching

92.2K viewsAsked at Adobe
Hard

Question Explain

Given an input string $s$ and a pattern $p$, implement wildcard matching with support for '?' (matches any single character) and '*' (matches any sequence). Use DP.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Wildcard Matching - Interview Question