Naive solution ( Cardinality Estimation)
Jump to navigation
Jump to search
Time Complexity
$O(N)$
Space Complexity
$O(n)$ words
(keep track of exact histogram, may require storing all values)
Description
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Word RAM
Year
1940
Reference
-