Check If a Word is a Prefix of Any Word in a Sentence
Try to solve the Check If a Word is a Prefix of Any Word in a Sentence problem.
We'll cover the following...
Statement
You are given a sentence containing words separated by single spaces and a searchWord. Your task is to determine whether searchWord is a prefix of any word in the sentence.
Return ...
Ask