Consider the tree arcs of a $DFS$ traversal from a source node $W$ in an unweighted, connected, undirected graph. The tree $T$ formed by the tree arcs is a data structure for computing
- the shortest path between every pair of vertices.
- the shortest path from $W$ to every vertex in the graph.
- the shortest paths from $W$ to only those nodes that are leaves of $T$.
- the longest path in the graph.