A Dynamic, Self-balancing k-d Tree
Data Structures and Algorithms
2026-05-27 v18
Abstract
The original description of the k-d tree recognized that rebalancing techniques, used for building an AVL or red-black tree, are not applicable to a k-d tree, because these techniques involve cyclic exchange of tree nodes that violates the invariant of the k-d tree. For this reason, a static, balanced k-d tree is often built from all of the k-dimensional data en masse. However, it is possible to build a dynamic k-d tree that self-balances when necessary after insertion or deletion of each k-dimensional datum. This article describes insertion, deletion, and rebalancing algorithms for a dynamic, self-balancing k-d tree, and measures their performance.
Keywords
Cite
@article{arxiv.2509.08148,
title = {A Dynamic, Self-balancing k-d Tree},
author = {Russell A. Brown},
journal= {arXiv preprint arXiv:2509.08148},
year = {2026}
}
Comments
19 pages, 9 figures, 5 tables