Available question text
Given a space-separated sentence and a searchWord, determine whether searchWord is a prefix of any word and return the 1-based index of the first matching word, or -1 if no word starts with searchWord.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source