educative.io

Educative

Where is the code of function create_test_graph_directed()

Hi,

In the solution, there is a function to create a directed graph called create_test_graph_directed().
However, I can not find it anywhere! Could you add this please?

Thanks!

The focus of the solution is to cloning the graph not creating the graph. The method create_test_graph_directed() creates a directed graph. The implementation of creating a graph can vary from language to language and person to person. So it was purposely hidden.