Phase 2 / dag, topological-order, reachability
Phase 6 / xor/subset_dp/weighted
Phase 5 / graphs/parity/path_reversal
Phase 3 / tree-query