Closest distance between two points(disjoint set)

后端 未结 4 1675
梦毁少年i
梦毁少年i 2021-01-31 21:11

\"enter

This problem is a kind of closest pair between two disjoint set. Upperside picture

4条回答
  •  北海茫月
    2021-01-31 21:57

    If you want to do binary search on spatial data, you could use a spatial data structure, such as a quadtree or a k-d tree.

提交回复
热议问题