Determine whether a string can be generated from a pattern where ? matches any single character.
Unlock detailed company stats for this questionUpgrade
Example: pattern "0?1", string "001".
Expect follow-ups like
- Generate all valid strings matching the pattern.
- What happens with 50 or more wildcard characters?
- Can the solution be parallelized?
- How would you handle the explosion at scale?
Community answers
No answers contributed by the community yet.
Related questions
Determine if a pattern matches a string.Implement wildcard matching: decide whether a string matches a pattern in which '?' matches any single character and '*' matches any sequence of characters, including none.Implement regular expression matching for a string and pattern, where . matches any single character and * matches zero or more of the preceding element.Related courses

Course

