Saved in:
Bibliographic Details
Main Authors: Moffat, Alistair, Hawking, David
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.08938
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908951152427008
author Moffat, Alistair
Hawking, David
author_facet Moffat, Alistair
Hawking, David
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_08938
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Speed Thrills: Visceral Demonstrations That Get Students Excited About Efficient Algorithms
Moffat, Alistair
Hawking, David
Data Structures and Algorithms
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.
title Speed Thrills: Visceral Demonstrations That Get Students Excited About Efficient Algorithms
topic Data Structures and Algorithms
url https://arxiv.org/abs/2604.08938