Hi Olufisayo,
Thanks for your question. I got a similar question yesterday, and you can see the question and response at this URL:
https://coderanch.com/t/739428/languages/Dive-Algorithms-inspired-write-book. Here is a quote from my response there:
I was inspired to write this book when I learned about the outfielder problem: the question of how the human mind can immediately know where to run to catch a ball when it's thrown (or batted) from hundreds of feet away. It turns out that there's an algorithm that all of us know - without knowing that we know - that tells us how to play outfield. This made me think about how fundamental algorithms are to life and how we think. More importantly, it made me realize that people think of algorithms as advanced and intimidating, but anyone who can catch a ball has already mastered at least one complex algorithm, so algorithms can be fun and intuitive instead of complicated and boring. I decided that explaining algorithms in this intuitive, joyful way could be an improvement on the many dry approaches to algorithms in other books. The outfielder problem, my inspiration, became Chapter 1 and served as an introduction to the idea of algorithms and the rest of the book. Best regards,
Bradford Tuckfield