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.

Choosing the Algebra

The Stepanov series showed that algorithms arise from algebraic structure. This post is about the flip side: sometimes you choose a different structure to make the algorithm trivial.

Computer Science Mathematics

Problem Set Solutions

Graduate problem set solutions in computational statistics and numerical methods from my math master's at SIUe. Implementing things from scratch teaches you what the libraries are hiding.

Is It Prime?

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

Computer Science Mathematics

Bloom Filters

Bloom filters trade perfect recall for extraordinary space efficiency. How they work and why they matter.