Reading up on algorithms
11 deep · digging since dec 02, 25
- NeetCode | Coding Interview Prep, Courses, Versus Mode
Data structures like arrays store elements contiguously in RAM, where each element's address depends on its data type size, a concept crucial for understanding algorithms and system design.
- Striver's 150 DSA Sheet: Master Patterns
Striver's 150 DSA sheet teaches interviewees to recognise problem patterns across 17 modules, building transferable solution skills rather than memorising isolated question answers.
- What is Reciprocal Rank Fusion?
Reciprocal Rank Fusion combines multiple search rankings by weighting document positions rather than scores, using a simple formula with a constant k that robustly merges lexical and semantic search results.
- One Hash Bloom Filters
The article describes a Bloom filter variant that uses a single hash function combined with a deterministic permutation to achieve equivalent false positive rates with less computation.
- Forisek and Jancina Primality Test - by Murage Kibicho
The Forisek & Jancina primality test provides a deterministic 512‑byte lookup‑table method to check primality of 32‑ and 64‑bit integers using a single strong probable‑prime test.
- Decision trees – the unreasonable power of nested decision rules
Decision trees use entropy-based information gain to recursively split data into pure regions, balancing interpretability and speed against the stair-stepping problem for linear boundaries.
- Facebook is cooked
A user reactivating a long-dormant Facebook account finds the feed overwhelmed by AI-generated slop and spam, a phenomenon commenters attribute to algorithmic cold starts rather than platform-wide decay.
- Maze Algorithms (2017)
A visual and algorithmic deep-dive into maze generation techniques, covering recursive backtracking, Prim's, Kruskal's, Wilson's, and others with live demos.
- ASCII characters are not pixels: a deep dive into ASCII rendering
A developer built an ASCII renderer that uses shape vectors and contrast enhancement to achieve sharp edges, overcoming blurriness from treating characters as pixels.
- Punycode: My New Favorite Algorithm - Ian Duncan - Ian Duncan
Punycode uses adaptive bias adjustment, delta compression, and variable-length base-36 encoding to efficiently encode Unicode into ASCII for DNS without shared state.