Sponsored
Use these hints if you're stuck. Try solving on your own first.
Go through each word in words and increment the answer if pref is a prefix of the word.
Solve with full IDE support and test cases