Classic Informatics interview question

Difference b/w map and filter?