Advanced data structuresExplained
K-D Tree
A binary tree that splits space along alternating axes.
Time
O(log n) avg search
Extra space
O(n)
Use it for
Nearest-neighbour search.
A binary tree that splits space along alternating axes.
Time
O(log n) avg search
Extra space
O(n)
Use it for
Nearest-neighbour search.