Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
rendaw
4y ago
0 comments
Share
> without sorting it... have a fixed size sorted buffer
(that you sort yourself)
undefined | Better HN
0 comments
default
newest
oldest
raxxorrax
4y ago
That doesn't really make sense to me at all. Don't sort it, just have it?
Is the storage restriction the point?
panda88888
4y 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.
j
/
k
navigate · click thread line to collapse