Speed Thrills: Visceral Demonstrations That Get Students Excited About Efficient Algorithms
Alistair Moffat, David Hawking

TL;DR
This paper presents visceral, live demonstrations of algorithm improvements that dramatically reduce runtimes, aiming to motivate students in Data Structures and Algorithms courses.
Contribution
It introduces the concept of 'thrills of algorithms' and provides detailed pseudocode, complexity analyses, and implementations to facilitate engaging teaching demonstrations.
Findings
Runtimes decrease from days or years to seconds in demonstrations.
Live in-class demonstrations effectively motivate students.
Detailed pseudocode and analyses support educators in teaching efficient algorithms.
Abstract
We address the problem of motivating students in Data Structures and Algorithms courses by presenting two simple problems that each have a series of improvements to a basic algorithm, leading to spectacular decreases in runtimes. Coining a new term, we refer to such sequences as being "thrills of algorithms". Seeing runtimes drop from an estimate of days (or even years) to just a few seconds has a visceral impact which conveys the importance of efficient algorithms in a way unlikely to be forgotten. The demonstrations are particularly compelling because they can be performed live in class on the lecturer's laptop. To assist staff teaching such courses we provide detailed pseudocode descriptions and complexity analyses for the various methods, and can supply implementations on request.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
