New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
TikTok
Coding Question
AI Insights
Quick Summary
Find the earliest starting index in a text string where a wildcard pattern matches.
The wildcard character '*' can represent zero or more arbitrary characters, while all other characters must appear in exact order.
Return -1 if no valid match exists within the given string constraints.
What This Tests
String manipulation and parsing
Greedy matching strategies
Index tracking and boundary condition handling
Efficient sequential substring search
Common Patterns
Greedy
Two Pointers
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected