ValueLabs Interview Question

Difference between map and filter or forEach