This comment is hidden because it contains spoiler information about the solution
tel7as
I wouldn't exactly call this 'Best Practice' but maybe 'Clever' as it's short and concise. Imagine the case where you have the iterator given in the example (trueIfEven) and a list of 1 million even numbers.
Could you please explain this solution?
Nice approach, very clever.
This comment is hidden because it contains spoiler information about the solution
tel7as
I wouldn't exactly call this 'Best Practice' but maybe 'Clever' as it's short and concise.
Imagine the case where you have the iterator given in the example (trueIfEven) and a list of 1 million even numbers.
Could you please explain this solution?
Nice approach, very clever.