AlgoViz

Introduction to graphs

easy 18 min

A graph is a set of vertices joined by edges, directed or undirected, weighted or not.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

What is the space complexity of an adjacency matrix for a graph with V vertices?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 11

Recall

What is a graph?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.