Derivation-First Algorithms Book
This book teaches algorithms by deriving each one from scratch rather than presenting the finished algorithm. For example, for binary search it works through finding an element step by step in an even-sized array and then an odd-sized array, derives a general hypothesis, and then creates the formula for the algorithm from it.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Derivation-First Algorithms Book
This book teaches algorithms by deriving each one from scratch rather than presenting the finished algorithm. For example, for binary search it works through finding an element step by step in an even-sized array and then an odd-sized array, derives a general hypothesis, and then creates the formula for the algorithm from it.
Posted by @vivzkestrel · Original source ↗
Source text · @vivzkestrel · · Source ↗
i am working on something pretty radical in this space. it is a book of algorithms that derives all the algorithms without telling what the algorithm is. for example for binary search your book quickly went into the low + high / 2 = mid thing. my method is radically different. i take an even sized array then try to actually find it step by step , then take an odd sized array , find it step by step, derive a general hypothesis and then create the formula from it for that algorithm.