Algorithms for fundamental problems on graphs.