Contents
Contents
Mental model
Abstraction
The practice of hiding complexity behind a simpler interface, enabling reasoning
I send a newsletter every week — free, no spam, unsubscribe anytime.
— Jon Bentley, Programming Pearls (1986)"Binary search is the first algorithm that every programmer should get right. It's deceptively simple; getting the invariants right matters."
Binary Search applied the First Principles Thinking mental model
Binary Search applied the Explore-exploit Tradeoff mental model
Binary Search applied the Binary Search mental model
Binary Search applied the Efficiency vs Effectiveness mental model
Binary Search applied the Algorithms mental model
Binary Search applied the Threshold Rule mental model