<p><img alt="GB 9 F 5" src="https://media.cheggcdn.com/media%2Fa37%2Fa378d88c-1e8c-424c-bc9b-54c5b6fc1ffa%2FphpiMIWW8.png" style="height:269px;width:901px;" aria-describedby="d3f"/></p><p>For both GA and GB, list the vertices in the order they will bevisited using Depth-first traversal, starting from vertex A.(Ignore the weights