Algorithms

Browse posts by tag

Concrete Mathematics

Notes

Blends discrete mathematics with analysis and algorithm design.

Elements of Programming

Notes

Rigorous foundations of generic programming. Connects algebra and algorithms. Stepanov’s magnum opus.

Problem Set Solutions

I have a fairly broad interest in problem-solving, from problems in statistics to algorithms. Over the years, I’ve accumulated a collection of problem sets from graduate coursework and independent study. These represent solutions to challenging …

Is It Prime?

The Miller-Rabin primality test demonstrates how probabilistic algorithms can achieve arbitrary certainty, trading absolute truth for practical efficiency.

Computer Science Mathematics

Bloom Filters and the Art of Probabilistic Certainty

One of the most elegant ideas I encountered during my CS masters work is the Bloom filter—a data structure that gives you probabilistic membership testing with extraordinary space efficiency.

The Core Insight

A Bloom filter can tell you two things: …