Discrete math · Trees and graph algorithms
Two systematic ways to explore a graph visit vertices in different orders, and one of them finds the fewest hops.