Algopelago Coming soon for iPhone

Make sense of algorithms, island by island.

Your boat is waiting at the docks. Start at a locker quay, a library and a sorting yard, each run by someone who knows the job inside out. You'll come home able to picture what your code is doing.

Coming soon to the App Store, free at launch

Take a look around
Three clay islands on a grey-green sea: a locker quay, a library and a sorting yard with a crane above stacks of crates, with a courier boat and a small lighthouse between them

Every idea starts as a real job

Finding a book on a shelf. Putting crates in order. Remembering which locker holds which parcel. You already know how to do these, and each lesson puts one of them in your hands first.

Your first three islands

A row of blue lockers on a quay, doors numbered 0 to 7, with parcels inside and a clerk beside a cart

See why some code slows down as the list grows

Nell has run the locker quay at the Array Docks for thirty years, and she trusts her tally counter more than any clock. Help her with the parcels and you'll see what an array really is, and why some jobs stay quick as the row grows while others slow right down.

In the app: a library shelf with numbered positions, books 19 and 31 already pulled, bookends around the range still in play, and a pull counter showing 2

Find one book in a thousand in ten pulls

Mira keeps the shelves of the Library Quarter in order, and that order is her secret. By the end of your visit you'll know how to find one book among a thousand in ten pulls or fewer, and why it works.

In the app: six crates on a rail, numbered 0 to 5, a balance scale, and counters for weighings and lifts

Know which sort to reach for

Crates roll into the Sorting Yard in every order, and Gus, the yard foreman, trusts his scale over his eye. Weigh them two at a time with him, and you'll know which sort to reach for when the row is nearly tidy, when lifting takes much longer than weighing, or when crates of equal weight must stay in arrival order.

At launch: 17 lessons on arrays, Big-O, searching and sorting.

New islands are on their way

Past the Sorting Yard, the map runs into fog. The next island is already taking shape inside it.

A seaside boardwalk with a bench and a lamp post, half hidden in banks of fog

Further out, past the fog: hashing, stacks and queues, linked lists, trees and more.

By the time you see the code, you've already done it

Every island has a day, an evening and a night. In daylight you play. By evening, the things you touched have their real names. At night the same scene is Python, and every line points at something you did with your own hands.

  1. Day on the locker quay: five open lockers holding parcels of 3, 1, 9 and 6 kg, and the 9 kg parcel already on the cart

    Day: play

  2. Evening on the same quay: the row of lockers at dusk, doors numbered 0 to 4, with parcels of 3, 9, 1, 9 and 6 kg

    Evening: names

  3. Night: a row of six lockers, numbered 0 to 5, in the dark under a code page: arr = [5, 5, 7, 3, 9, 9] and a loop that keeps the heaviest so far in best

    Night: Python

The map in the app: a courier boat sailing between small islands toward the library island, with Mira's card for the first library lesson, Linear search

Sail at your own pace

Steer your boat to the next island when you have a few minutes, and stay as long as you like. Pip, the apprentice, rides with you. Finish the Docks or the Library, and the fog lifts off the next island. Sign in with Apple or Google, and your progress comes with you to any iPhone.

Who it's for

Students in a data structures course, self-taught programmers, and anyone who has read about Big-O and still can't picture it. You don't need to know any algorithms to start.

Come aboard when we launch

Algopelago is coming soon to the App Store for iPhone.

Email me when it launches