Algorithms

Edge (tree or graph)

The line joining 2 nodes in a tree or a graph. In code it's a reference from one node to the other.

Example

A tree of 10 nodes has 9 edges: each node, except the root, has 1 to its parent.

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.