Khan Academy
Khan Academy: Representing Graphs
Some practice problems with data and graph representation in computer science.
Khan Academy
Khan Academy: Representing Graphs
There are several ways to represent graphs, each with its advantages and disadvantages. Some situations, or algorithms that we want to run with graphs as input, call for one representation, and others call for a different representation....
Khan Academy
Khan Academy: Representing Graphs
Test edge lists, adjacency lists, adjacency matrices.