The greedy pattern
Now that we know how to analyze algorithms, we are finally ready to start designing them!
Designing algorithms from patterns
This text covers the design of algorithms through the lens of patterns. As you might expect, an a
Exhaustive search at a high level
The exhaustive search algorithm pattern is a generalization of sequential search. An exhaustive search algorithm
iterates through objects in search for a particular kind of object, just as