Wildcard Matching at Twitter
Hard31.3% acceptance
This problem has 100.0% frequency at Twitter.
Problem Description
Given an input string (`s`) and a pattern (`p`), implement wildcard pattern matching with support for `'?'` and `'*'` where: * `'?'` Matches any single character. * `'*'` Matches any sequence of characters (including the empty sequence). The matching should cover the **entire** input string...
Read full problem and hintsTopics
Also asked at 17 companies
More Twitter Questions
Regular Expression MatchingHardInteger to RomanMediumValid ParenthesesEasyTrapping Rain WaterHardMultiply StringsMedium
View all Twitter questions