Phase 5 / suffix_automaton, string_hashing
Phase 4 / greedy, inversions
Phase 5 / segment_tree, lazy_propagation
Phase 6 / persistent_trie, offline_queries
Phase 5 / prime_sieve, nearest_prime
Phase 5 / set_theory, greedy
Phase 4 / cycle_decomposition, parity_position
Phase 4 / tree_queries, offline_processing
Phase 5 / mo_algorithm, fenwick
Phase 4 / cycle_decomposition, gcd
Phase 4 / dp, house_robber_variant
Phase 4 / sliding_window, hash_map