0
/ 1.0
Complete the function countStrLongerThan()
so that it returns the count of Strings in the array names
that are longer than minLen
. You...
Complete the function countStrLongerThan()
so that it returns the count of Strings in the array names
that are longer than minLen
. You may assume that the array has some elements.
Examples:
countStrLongerThan({"pedro","maria"},3) -> 2
countStrLongerThan({"pedro","maria"},5) -> 0
countStrLongerThan({"pedro","maria","jose"},4) -> 2
Your feedback will appear here when you check your answer.