EY Interview Question

Difference between map and flatmap