LESSON 11 / 15

Graph

A graph is a set of nodes connected by edges — maps, friendships, the internet. We store it as a map from each node to its neighbours, then explore it with BFS and DFS.

🎓Expertlevel
⏱️16 minto finish
✏️2activities

📂 Data Structures🏷️ Data structures

🔒

You’ve finished your free lessons! 🎉

Create a free account to unlock every lesson, save your progress, keep your streak and get personal review suggestions. It takes 20 seconds.