EPAM Systems Interview Question

Difference between Map and FlatMap