Deck · IOI — Competitive Programming

Graph Algorithms

IOI graph algorithms: terminology, representations, BFS/DFS, topological sort, shortest paths (Dijkstra, Bellman-Ford, Floyd-Warshall, SPFA), minimum spanning trees (Kruskal, Prim), connectivity (SCC, bridges, articulation points, 2-SAT), trees (diameter, LCA), network flow (Ford-Fulkerson, Dinic, min-cut, bipartite matching), and Eulerian paths, with complexities and when each applies.

76 cards · audited · SM-2 spaced repetition

or go All-Access →

Included with the full IOI — Competitive Programming program — 14 decks, 964 cards.

Sample cards

1

What are the vertices and edges of a graph?

2

What is the degree of a vertex in an undirected graph?

3

What are in-degree and out-degree in a directed graph?

4

What distinguishes a directed graph from an undirected graph?

5

What is a weighted graph?

Showing 5 of 76 cards. Unlock the program to study them all.

More in IOI — Competitive Programming

Master graph algorithms — and the rest of IOI — Competitive Programming.

One program. 964 audited cards across 14 decks.

or go All-Access →

See the full program →