Ropstam interview question

What is the difference between filter and map?