Data structures · Multiple choice

Which structure estimates how many requests each of millions of IP addresses has made, in fixed memory?

easy Resilience

Options

Why

A count-min sketch estimates per-item frequencies. HyperLogLog estimates how many distinct items there are, not how often each appears, and a Bloom filter only answers "seen or not".

Review this in your daily deck All cards in Data structures