Pregunta de entrevista de Digit Insurance

Difference between Map and FlatMap.