Regular Expression Matching at TikTok
Hard30.4% acceptance
This problem has 50.0% frequency at TikTok.
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 TikTok Questions
Longest Substring Without Repeating CharactersMediumTrapping Rain WaterHardLongest Increasing SubsequenceMediumLongest Palindromic SubstringMediumText JustificationHard
View all TikTok questions