Module Small-to-large

Small-to-large

**Frequency: 5/10** This technique enables merging data structures really fast.

Resources

- [USACO: Small-To-Large merging](https://usaco.guide/plat/merging?lang=cpp)

Problems

Distinct colors 141 / 158 1400
Picking apples 104 / 139 1700
Frequent color 84 / 108 1800
Path with length k 2 70 / 74 1800
LIS on tree 51 / 63 1900