Problem Statement
Which pair correctly classifies operations?
Explanation
Mapping, filtering, sorting build the pipeline; collect, reduce, forEach consume it. `peek` is intermediate and `allMatch` is terminal.
Practice Sets
This question appears in the following practice sets:
