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 187 / 207 1400
Picking apples 135 / 183 1700
Frequent color 101 / 139 1800
Path with length k 2 83 / 87 1800
LIS on tree 66 / 78 1900