Algorithms which detect cycles on graphs.