~/talk

Fantastic Algorithms and Where To Find Them

Talkat Meeting C++ 2017 · 2017-11-09..11-11· [rust]
links:none on file
slides:none on file

Describes concrete algorithms and what they actually guarantee: heavy hitters (Boyer‑Moore style) flags every key above an x% threshold with a single pass but generally needs a verification pass unless the implementation (gcov) checks count/weight and thus guarantees recovery for ≥75% offenders; Morris traversal does in‑order visit and safe destruction with O(1) extra space by temporarily threading predecessors and restoring them; reservoir sampling returns exactly k uniform samples from a stream using one RNG per item; HyperLogLog estimates distinct counts with error ≈1.04/√m after hashing and harmonic‑mean aggregation.

AI-written summary · about

  1. 0:00Start
  2. 5:12Heavy Hitters (X=50%, Majority Vote)
  3. 12:05Heavy Hitters (X=1/k)
  4. 20:16Morris Traversal
  5. 34:05Reservoir Sampling
  6. 43:46HyperLogLog
  7. 54:54#include
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.