Skip to Main Content (Press Enter)
Once Upon an Algorithm by Martin Erwig
Add Once Upon an Algorithm to bookshelf
Add to Bookshelf

Once Upon an Algorithm

Best Seller
Once Upon an Algorithm by Martin Erwig
Paperback $22.95
Aug 09, 2022 | ISBN 9780262545297

Buy from Other Retailers:

See All Formats (1) +
  • $22.95

    Aug 09, 2022 | ISBN 9780262545297

    Buy from Other Retailers:

  • Aug 18, 2017 | ISBN 9780262341707

    Buy from Other Retailers:

Product Details

Praise

“[A] thoughtful and approachable guide to the fundamentals of how computer science exists as an intellectual discipline.”
Times Higher Education  

“[A] fun and accessible read. . . . Once Upon an Algorithm is recommended to anyone new to the field of computer science with an interest in learning about the theoretical basics of the field as well as its application to our lives.”
LSE Review of Books  

“This brilliant book not only makes computing and informational thinking more accessible, but it also shows the undeniable relevance of those domains to daily life.”
Digicult

Table Of Contents

Preface vii
Acknowledgments xi
Introduction 1
Part I Algorithms
Computation and Algorithms — Hansel and Gretel
1 A Path to Understanding Computation 19
2 Walk the Walk: When Computation Really Happens 33
Representation and Data Structures — Sherlock Holmes
3 The Mystery of Signs 49
4 Detective’s Notebook: Accessory after the Fact 63
Problem Solving and Its Limitations — Indiana Jones
5 The Search for the Perfect Data Structure 83
6 Sorting out Sorting 103
7 Mission Intractable 121
Part II Languages
Language and Meaning — Over the Rainbow
8 The Prism of Language 141
9 Finding the Right Tone: Sound Meaning 159
Control Structures and Loops — Groundhog Day
10 Weather, Rinse, Repeat 175
11 Happy Ending Not Guaranteed 189
Recursion — Back to the Future
12 A Stitch in Time Computes Fine 205
13 A Matter of Interpretation 225
Types and Abstraction — Harry Potter
14 The Magical Type 245
15 A Bird’s Eye View: Abstracting from Details 263
Glossary 287
Notes 303
Index 313

Looking for More Great Reads?
21 Books You’ve Been Meaning to Read
Back to Top