Degree
In-degree and out-degree - how many edges point into and out of a node - are enough to answer a surprising range of graph questions without ever building an adjacency list or traversing an edge. Counting those two arrays over the raw edge list is the whole trick.
The definitions, the source/sink signal table, the handshake lemma and the self-check it gives you are on Graph Anatomy. This page is the practice set.
Sink & Source Identification
Find the one node whose degree hits an exact target - 0 for a plain source/sink, or n - 1 for a node everyone else points at.
997. Find the Town Judge
1436. Destination City
1436Destination City
1557. Minimum Number of Vertices to Reach All Nodes
Greedy Elimination
Both model "the one node everyone points at, that points at no one" - but instead of counting degrees, they walk the nodes once with a running candidate, discarding it whenever the current node disproves it. One survivor is left after a single pass.
2923. Find Champion I
2923Find Champion I
277. Find the Celebrity
Degree Arithmetic
Combine degrees across multiple nodes, correcting for edges shared between them.