Algorithms

Euclidean distance

The straight-line distance between 2 points.

Example

Between (0, 0) and (3, 4) the euclidean distance is 5.

Test yourself: Euclidean distance

Quadtrees

Why isn't computing the distance to every point enough?

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.