Pergunta de entrevista da empresa Digit Insurance

Difference between Map and FlatMap.