Algorithms

Graph

A structure of nodes joined by connections, where any element can connect with any other. It holds many-to-many relationships.

Example

A social network: Ana is friends with 300 people, and each of them has their own 300 friends.

Test yourself: Graph

Types of structures

Friendships on a social network, where each person has many friends, are best stored in…

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.