Back to Question

Wildcard Matching

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

Click "Start Speaking" and answer the question naturally.