Concept Flow - Group_by for categorization
Start with array
Apply group_by block
Evaluate block for each element
Assign element to group key
Collect groups in hash
Return grouped hash
End
The array is processed element by element, each element is assigned to a group based on the block's result, and a hash of groups is returned.
