Python code to implement KDTree. Search K dimensional space efficiently in O(log(n)) time.
- Create KDTree.
- Insert nodes dynamically.
- Delete nodes dynamically.
- Perform range(rectangle) queries over n dimenesions.
- Perform radial queries over n dimensions.
- Find k-nearest neigbours (inefficient).