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 hints

Topics

Also asked at 17 companies


More Twitter Questions

View all Twitter questions