Suffix Count
Solve an easy problem for finding the count of words with a suffix.
Problem statement
A suffix is a letter or a contiguous group of letters present at the end of a string. Given an array of strings words
and a string suff
, return the number of strings in words
that contain suff
as a suffix.
Example 1
Sample Input
Get hands-on with 1400+ tech skills courses.