arXiv · 2506.20687
Review of Three Algorithms That Build k-d Trees
Abstract
The original description of the k-d tree recognized that rebalancing techniques, such as used to build an AVL tree or a red-black tree, are not applicable to a k-d tree. Hence, in order to build a balanced k-d tree, it is necessary to find the median of a set of data for each recursive subdivision of that set. The sort or selection used to find the median, and the technique used to partition the set about that median, strongly influence the computational complexity of building a k-d tree. This article describes and contrasts three k-d tree-building algorithms that differ in their technique used to partition the set, and compares the performance of the algorithms. In addition, dual-threaded execution is proposed for one of the three algorithms.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Russell A. Brown. 2025-06-25. Review of Three Algorithms That Build k-d Trees. https://arxiv.org/abs/2506.20687
Cite the original work for its findings. Save a collection to share your selection of sources.