Graph Search: Exercise
Exercise Identify the set of vertices reachable from $s$ and from $x$, in the following graph:
![](/img/27/graph03.png)
Solution
- The set of vertices reachable from $s$ is $\{s, u, v\}$.
- The set of vertices reachable from $x$ is $\{x\}$.
Exercise Identify the set of vertices reachable from $s$ and from $x$, in the following graph: