logo
episode-header-image
Mar 2023
16m 41s

Once Upon an Algorithm: How Stories Expl...

Marshall Poe
About this episode

In this episode, Martin Erwig show us how we can find computational concepts inside some of our favorite stories.

Picture a computer scientist, staring at a screen and clicking away frantically on a keyboard, hacking into a system, or perhaps developing an app. Now delete that picture. In Once Upon an Algorithm, Martin Erwig explains computation as something that takes place beyond electronic computers, and computer science as the study of systematic problem solving. Erwig points out that many daily activities involve problem solving. Getting up in the morning, for example: You get up, take a shower, get dressed, eat breakfast. This simple daily routine solves a recurring problem through a series of well-defined steps. In computer science, such a routine is called an algorithm.

Erwig illustrates a series of concepts in computing with examples from daily life and familiar stories. Hansel and Gretel, for example, execute an algorithm to get home from the forest. The movie Groundhog Day illustrates the problem of unsolvability; Sherlock Holmes manipulates data structures when solving a crime; the magic in Harry Potter's world is understood through types and abstraction; and Indiana Jones demonstrates the complexity of searching. Along the way, Erwig also discusses representations and different ways to organize data; "intractable" problems; language, syntax, and ambiguity; control structures, loops, and the halting problem; different forms of recursion; and rules for finding errors in algorithms.

This engaging book explains computation accessibly and shows its relevance to daily life. Something to think about next time we execute the algorithm of getting up in the morning.

Learn more about your ad choices. Visit megaphone.fm/adchoices

Support our show by becoming a premium member! https://newbooksnetwork.supportingcast.fm/film

Up next
Sep 29
Alien: Earth Episode Analysis: Emergence and The Real Monsters
It’s The Pop Culture Professors, and we conclude our analysis of the FX series Alien: Earth with episode 7, “Emergence” and episode 8, “The Real Monsters.” Learn more about your ad choices. Visit megaphone.fm/adchoices Support our show by becoming a premium member! https://newboo ... Show More
58m 15s
Sep 29
History Is Made at Night
Every so often, you encounter The Perfect Movie: something with a screenplay, cast, and direction that combine in a way that reminds you of what happens when everyone working on a movie gets it exactly right. History is Made at Night (1937) is one of those movies. Join us for a c ... Show More
28m 7s
Sep 24
Mark Archuleta, "The Reel Thrilling Events of Bank Robber Henry Starr: From Gentleman Bandit to Movie Star and Back Again" (U North Texas Press, 2025)
In 1921 headlines across the country announced the death of Henry Starr, a burgeoning silent film star who was killed while attempting to rob a bank in Harrison, Arkansas. Cynics who knew the real Starr were not surprised. Before becoming a matinee idol, Starr had been the greate ... Show More
39m 56s
Recommended Episodes
Jun 2025
Networks and Complexity
In this episode, Kyle does an overview of the intersection of graph theory and computational complexity theory. In complexity theory, we are about the runtime of an algorithm based on its input size. For many graph problems, the interesting questions we want to ask take longer an ... Show More
17m 49s
Nov 2024
Mastering Algorithms: From Binary Search Trees to Dynamic Programming and Greedy Strategies
In this episode, we explore foundational algorithms and data structures that every developer and computer science enthusiast should know. Covering everything from Binary Search Trees (BSTs) to advanced concepts like Dynamic Programming and Greedy Algorithms, this episode is packe ... Show More
28m 3s
Feb 2022
S6 Bonus: Raghav R S, Animaker
Raghav was a product developer, starting a young age. He was creating interesting products for science exhibitions as a kid. Once, this professor asked him to do a cancer research project, which introduced him to the story of Steve Jobs and his entrepreneurial journey. He was hig ... Show More
18m 40s
Feb 2017
MLG 002 What is AI, ML, DS
Links: Notes and resources at ocdevel.com/mlg/2 Try a walking desk stay healthy & sharp while you learn & code Try Descript audio/video editing with AI power-tools What is artificial intelligence, machine learning, and data science? What are their differences? AI history. Hierarc ... Show More
1h 5m
Sep 2024
machine learning (noun) [Word Notes]
Enjoy this special encore episode. A programming technique where the developer doesn't specify each step of the algorithm in code, but instead teaches the algorithm to learn from the experience. 
6m 16s
Sep 2024
What Type of Templates Do We Use for Visual Processing? Caricatures Might Be the Answer
In this episode, Zekun Sun and Chaz Firestone from Johns Hopkins University join Under the Cortex to discuss their new paper in Psychological Science titled “Caricaturing Shapes in Visual Memory.” The conversation with APS’s Özge G. Fischer Baum reviews how our visual system uses ... Show More
18m 9s
May 2020
49: Thinking Machines II (Techniques in Artificial Intelligence)
Machines have been used to simplify labor since time immemorial, and simplify thought in the last few hundred years. We are at a point now where we have the electronic computer to aid us in our endeavor, which allows us to build hypothetical thinking machines by simply writing th ... Show More
57m 55s
Jul 2024
Computer Science Visualizations with Sam Rose
Sam Rose creates visual introductions to computer science topics. Each post takes about a month to make, and he tries to cover foundational topics in a way that's accessible to beginners. Scott chats with Sam about the how and why of making such bespoke and sophisticated blog pos ... Show More
33m 43s
Jul 2017
14: Artificial Thought (Neural Networks)
Go to www.brilliant.org/breakingmathpodcast to learn neural networks, everyday physics, computer science fundamentals, the joy of problem solving, and many related topics in science, technology, engineering, and math.  Mathematics takes inspiration from all forms with which life ... Show More
1h 5m
May 2025
686 - Problem Solving
John and Craig look at how writers and their characters handle the obstacles they encounter. They outline proven techniques for solving problems both in life and on the page, why it’s important to see characters solving problems in a story, and how taking big swings can open up e ... Show More
1 h