January 2024
Intermediate to advanced
480 pages
12h 36m
English

This chapter is all about binary search. If you don’t know what binary search is— excellent! I’m excited for the opportunity to teach you a systematic, performant technique for isolating an optimal solution from among zillions of possible solutions. And if you do know what binary search is and think that it’s just for searching a sorted array—excellent! You’ll learn that binary search is for so much more than that. To keep things fresh, we will not search a sorted array in this entire chapter, not even once.
What do minimizing the amount of liquid needed to feed ants, maximizing the minimum jump distance between rocks, finding the ...
Read now
Unlock full access