Problem Statement
When should you use flatMap instead of map?
Explanation
Use `map` for one-to-one transformations. Use `flatMap` for one-to-many where inner streams or collections are concatenated into a single stream.
Practice Sets
This question appears in the following practice sets:
