...

/

Challenge: Filtering with Higher-Order Functions

Challenge: Filtering with Higher-Order Functions

This lesson brings you a challenge to solve.

Problem statement

Make a function Filter which accepts s as the first parameter and a function fn func(int) bool as the second parameter. The Filter ...