Ideas & Techniques¶ Table of Contents¶ SCC of Tournament Graph Potential Method Tree Optimization Todo¶ Tree Optimization 2 (with HLD) O(N^2) tree dp memory optimization with HLD Number of Triangles in Graph graphs without odd / even cycles