Minimum Number of Vertices to Reach All Nodes
Implement `solve` for **Minimum Number of Vertices to Reach All Nodes**. Return the required output for the provided arguments.
Implement `solve` for **Minimum Number of Vertices to Reach All Nodes**. Return the required output for the provided arguments.