Phase 2 / dag, topological-order, reachability
Phase 1 / mo-algorithm, sqrt-decomposition
Phase 1 / prefix-xor, range-query
Phase 6 / xor/subset_dp/weighted
Phase 5 / dp/set/nonoverlap
Phase 4 / prefix_sum/equality/binary
Phase 4 / hashing/unique/suffix
Phase 5 / tree/distance/propagation
Phase 5 / prefix_sum/divisor/unique
Phase 4 / greedy/flipping/min_cost
Phase 5 / dp/kth_path/grid
Phase 4 / greedy/matching/abs_sum