Free module
Algorithms and programming
Searching, sorting, recursion, stacks, graphs and how fast an algorithm is, written in Python and tested in a data lab.
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 · Container lab
Finding an item fast (binary search)
I can find an item with linear and binary search.
Read the lesson2 · Container lab
Putting a list in order (sorting)
I can sort a list with bubble, insertion and merge sort.
Read the lesson3 · Container lab
How time grows with the data (Big O)
I can compare algorithms by how their time grows.
Read the lesson4 · Container lab
Last in or first in (stacks and queues)
I can use a stack and a queue.
Read the lesson5 · Container lab
Functions that call themselves (recursion)
I can write a function that calls itself.
Read the lesson6 · Container lab
Finding the shortest route (breadth-first search)
I can find a shortest path.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.