I looked at a graph algorithm Bellman-Ford under C++
Why is Graph->edge a pointer not a std::vector Why does the Graph constructor not use member initializer lists but assignemnt in the constructor body.
So confidence in the quality of the code is not high.
Then I see ``` this->edges = (Edge )malloc(E sizeof(Edge)); ```
This is not C++.
Just stop reading it is not worth it. Find another source