The wildly popular author of BAD ARGUMENTS returns with a funny, smart introduction to algorithms -- those perennially misunderstand, increasingly important problem-solving rules that can save you time and lead to better choices, every day.
A relatable, interactive, and funny exploration of algorithms, those essential building blocks of computer science - and of everyday life - from the author of the wildly popular BAD ARGUMENTS. Algorithms -- processes that are made up of unambiguous steps and do something useful -- make up the very foundations of computer science. Yet, they also inform our choices in approaching everyday tasks, from managing a pile of clothes fresh out of the dryer to deciding what music to listen to.
With BAD CHOICES, Ali Almossawi, presents twelve scenes from everyday life that help demonstrate and demystify the fundamental algorithms that drive computer science, bringing these seemingly elusive concepts into the understandable realms of the everyday.
Readers will discover how:
Matching socks can teach you about search and hash tables
Planning trips to the store can demonstrate the value of stacks
Deciding what music to listen to shows why link analysis is all-important
Crafting a succinct Tweet draws on ideas from compression
Making your way through a grocery list helps explain priority queues and traversing graphs
As you better understand algorithms, you'll also discover what makes a method faster and more efficient, helping you become a more nimble, creative problem-solver, ready to face new challenges. BAD CHOICES will open the world of algorithms to all readers making this a perennial go-to for fans of quirky, accessible science books.