Free module
Data structures and algorithms in practice
Data structures and algorithms in practice: how fast code is, arrays, maps and sets, stacks and queues, searching and sorting.
6 lessons275 min lesson
The lessons
Each lesson is free to read in full. Create a free account to run its commands in a live lab and to sit its quizzes and tasks.
1
Lists keep items in order
I can store and change items in a list.
Read the lesson2
Stacks and queues for everyday jobs
I can choose a stack or a queue for a job.
Read the lesson3
Looking up a value by its key
I can look up a value by its key.
Read the lesson4
Finding an item: linear and binary search
I can find an item by linear search and by binary search.
Read the lesson5
Sorting data and why it matters
I can sort data and say why it matters.
Read the lesson6
How code slows down as data grows
I can compare how two algorithms grow with more data.
Read the lesson
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.