Pregunta de entrevista de EY

Difference between map and flatmap