An adjacency matrix for a weighted graph

Report a typo

Below is a weighted graph:

Weighted graph

Build an adjacency matrix for the graph. Your output may look like this:

0 1 3 inf
2 0 inf inf
inf 1 0 inf
inf 1 1 0
Enter a short text
___

Create a free account to access the full topic