X624: Count strings longer than

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 Answer:

Feedback

Your feedback will appear here when you check your answer.