Y
Hacker News
new
|
ask
|
show
|
jobs
by
rendaw
1733 days ago
> without sorting it... have a fixed size sorted buffer
(that you sort yourself)
1 comments
raxxorrax
1733 days ago
That doesn't really make sense to me at all. Don't sort it, just have it?
Is the storage restriction the point?
link
panda88888
1733 days ago
Yes. The goal is to find (or approximate) the median without storing all the elements. Instead, it approximates the median by finding the median of randomly selected samples from the elements.
link
Is the storage restriction the point?