Quantile Summary
Quantile Summary Quantile Summary maintains approximate quantiles of a stream using bounded memory. Instead of storing all values, it stores a compressed representation that allows queries such as median, percentiles, and rank estimates. The goal is to answer queries of the form: $$ \text{find } x \text{ such that } rank(x) \approx \phi n $$ for a given quantile $\phi \in (0,1)$. Problem Given a stream $$ x_1, x_2, \dots,...