Score: 0

A Dynamic, Self-balancing k-d Tree

Published: September 9, 2025 | arXiv ID: 2509.08148v7

By: Russell A. Brown

Potential Business Impact:

Makes computer searches faster by organizing data.

Business Areas:
Database Data and Analytics, Software

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.

Page Count
15 pages

Category
Computer Science:
Data Structures and Algorithms