Regular Expression Matching at Twitter
Hard30.4% acceptance
This problem has 100.0% frequency at Twitter.
Problem Description
Given an input string `s` and a pattern `p`, implement regular expression matching with support for `'.'` and `'*'` where: * `'.'` Matches any single character. * `'*'` Matches zero or more of the preceding element. Return a boolean indicating whether the matching covers the entire input...
Read full problem and hintsTopics
Also asked at 26 companies
More Twitter Questions
Integer to RomanMediumValid ParenthesesEasyTrapping Rain WaterHardMultiply StringsMediumWildcard MatchingHard
View all Twitter questions