The Polymathic Engineer

The Polymathic Engineer

The Dictionary Problem: Fast Lookups in Large Collections

From arrays to hash tables and BSTs: the trade-offs behind a classic problem.

Franco Fernando's avatar
Franco Fernando
Apr 11, 2026
∙ Paid

Hi Friends,

Welcome to the 168th issue of the Polymathic Engineer newsletter.

Let’s say you are building a spell checker that runs directly in the browser. You have a dictionary of over 100,000 words, and every time the user types something, you need to quickly check if the word exists in your dictionary. If it doesn’t, you underline it in red.

The feature…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Franco Fernando · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture