Concept Flow - FlatMap for nested collections
Start with nested list
Apply flatMap
For each inner list: extract elements
Combine all elements into one list
Return flattened list
End
FlatMap takes each inner collection, extracts its elements, and combines them into one flat list.
