• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
June 03, 2022 |8.5K Views
K-Dimensional Tree [Search and Insert]
Description
Discussion

A K-D Tree(also called as K-Dimensional Tree) is a binary search tree where data in each node is a K-Dimensional point in space. In short, it is a space partitioning(details below) data structure for organizing points in a K-Dimensional space.

A non-leaf node in K-D tree divides the space into two parts, called as half-spaces.

Points to the left of this space are represented by the left subtree of that node and points to the right of the space are represented by the right subtree. We will soon be explaining the concept on how the space is divided and tree is formed.

K-Dimensional Tree [Search and Insert] : https://www.geeksforgeeks.org/search-and-insertion-in-k-dimensional-tree/