Some elementary graph algorithms that should be understood and used by everyone  differ only slightly from some advanced algorithms that are not understood by anyone.
Robert Sedgewick