Greedy algorithms · Number theory · Queries
Segment Tree
Math · Constructive Algorithms
Depth-first Search · Dynamic programming · Greedy algorithms