Randomized, Approximation, and Streaming Algorithms
-
Indicator Variables and Expected Work
Convert a count into a sum of events and use linearity of expectation even when those events are dependent.
-
Markov and Chebyshev Bounds for Algorithms
Apply first-moment and variance bounds to random processing costs and see why a mean alone does not imply concentration.
-
Chernoff and Hoeffding Bounds for Sums
Derive exponential decay from moment generating functions and use it to budget independent repetitions.
-
Limited Independence and Small Random Seeds
Construct pairwise-independent samples from two field elements and identify which probabilistic arguments still work.
-
Uniform Random Permutations and Shuffling
Prove Fisher–Yates uniform by looking at the remaining index range and account for bias in bounded random integers.
-
Randomized Quickselect and Progress Phases
Bound expected selection work by isolating random pivots that shrink the remaining problem by a constant fraction.
-
Reservoir Sampling from a Stream
Prove uniform sampling without replacement when the input length is unknown and the sample must fit in fixed memory.
-
Bloom Filters and Conditional False Positives
Calculate the membership error of a Bloom filter conditional on bit occupancy and see why clearing a shared bit breaks it.
-
Count-Min Sketch and One-Sided Frequency Error
Derive the additive error of a Count-Min sketch and see why row independence amplifies the guarantee.
-
CountSketch and Signed Updates
Use random signs to cancel expected collision error and combine independent row estimates robustly.
-
HyperLogLog and Mergeable Cardinality Estimates
Estimate distinct stream keys from geometric rank observations and merge summaries without counting duplicated items twice.
-
MinHash and Jaccard Similarity
Prove the equality between minimum-hash agreement and Jaccard similarity, then estimate its sampling variance.
-
Locality-Sensitive Hashing and Banding
Derive the candidate probability of banded similarity signatures and relate the parameters to missed matches and extra verification.
-
Algebraic Fingerprints for Stream Equality
Evaluate a sequence as a polynomial over a finite field and use the root bound to quantify an erroneous match.
-
Approximation Ratios and Optimality Bounds
Translate algorithm guarantees between feasible objectives and bounds on the unknown optimum, including the role of scale.
-
A Two-Approximation for Vertex Cover
Build a cover from a maximal matching and certify its ratio without solving maximum matching.
-
Greedy Set Cover and Harmonic Charging
Analyze the weighted greedy choice by charging its cost to newly covered elements and summing over an optimal cover.
-
A Value-Scaling Approximation Scheme for Knapsack
Round profits to reduce a dynamic program’s numeric range and bound the total value lost to rounding.
-
Linear Relaxations and Covering Certificates
Use a fractional solution as a lower bound and derive a deterministic rounding guarantee for bounded coverage frequency.
-
Randomized Rounding for Covering Problems
Convert fractional cover weights to independent selections, bound uncovered elements, and account for the cost multiplier.