Status: IN
Nearly all solutions follow one of two dominant paradigms — single-pass streaming with O(1) accumulators for counting, tracking, and accumulation problems, or sort-then-two-pointer for pair-finding, ordering, and constraint-satisfaction problems — with the choice determined by whether the problem requires aggregation or search.
The two depth-2 algorithmic shapes partition the solution space nearly completely; problems not fitting either are the exceptions (binary search, closed-form, divide-and-conquer)
Depends on (SL): single-pass-streaming-dominant-shape, sort-then-two-pointer-dominant-pair-pipeline