Groups
Category
Many competitive programming problems map to a small set of classic patterns; recognizing keywords and constraints lets you pick the right tool fast.
SPFA is a queue-based optimization of BellmanโFord that only relaxes edges from vertices whose distance just improved.