Algorithms

Quadtree

A tree where each internal node has 4 children, one per quadrant. It's used to split a map and search points by area.

Example

A map with 10 million places is split until each leaf has fewer than 100.

Test yourself: Quadtree

Quadtrees

How many children does each internal node of a quadtree have?

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.