Algorithms

Nearest neighbor

Finding the points closest to a given one.

Example

Uber looks for the 10 cars closest to a rider: their 10 nearest neighbors.

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.