Bentley; Shamos (k-dimensional space, l m (or l infty) norm Closest Pair Problem)

From Algorithm Wiki
Revision as of 07:55, 10 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O(kn \log n)$

Space Complexity

$O(kn)$? words

(keep track of all sorted lists in each dimension; re-use space from recursive calls)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Real RAM

Year

1976

Reference

https://dl.acm.org/citation.cfm?id=803652