1Introduction
How this curriculum works
This site is built both to be read from start to finish like a book and to take you straight to the one operation you are looking for. This short lesson explains how the curriculum is divided, which parts each lesson is made of and how to get the most out of the site.
- How the curriculum is divided into field, part, subtopic and lesson
- The fixed layout of operation lessons: Idea, Step by step, Complexity, Common mistake and Try it
- How to use the quick notes, the Glossary page and the "I finished this lesson" mark
1Field, part, subtopic, lesson
The curriculum has four levels. At the top is the field; the field online now is Data Structures, with Algorithms next. A field is divided into parts: Arrays, Linked Lists, Stack and so on. Large parts are divided into subtopics; in Linked Lists, for example, singly linked, doubly linked and circular lists are separate subtopics. At the bottom are the lessons.
Each lesson teaches one thing. In a linked list, inserting at the head, at the end and at a position are three separate lessons. So you can finish a lesson in a few minutes and go straight to the operation you need. The lesson number tells you where it sits: 3.1.6 is the 6th lesson of the 1st subtopic of part 3.
2How a lesson is laid out
Lessons about an operation always follow the same order. Once you have read one, you know where everything is in the next:
| Section | What is in it? |
|---|---|
| Idea | What the operation does and why it is done that way, in a few paragraphs. |
| Step by step | A drawing of the operation. At each step the matching line of code lights up; you can choose C, Java or Python. |
| Complexity | Time and space complexity with the reasoning. |
| Common mistake | The mistake people make most often with this operation and how to avoid it. |
| Try it | Short questions. When you find the right option, its explanation opens. |
Concept lessons, like the ones in this introduction, are split into sections with their own headings. Every lesson starts with a "What you will learn" list and, where needed, the lessons to read first, and ends with related lessons. In a drawing you can move between steps with the buttons or with the left and right arrow keys.
If you want an example, Inserting at the head has the whole layout.
3Quick notes and the Glossary
Words shown with a dotted underline are glossary terms, for example pointer or Big-O. Hover over one or tap it and a quick note of a sentence or two opens; you recall the term without leaving the lesson. All terms are collected on the Glossary page. Each term's page lists the lesson that teaches it and the lessons that use it.
4Marking your progress
At the end of every lesson there is an "I finished this lesson" button. Lessons you mark show up as finished on the curriculum pages. The record is kept only in the browser on the device you are using; you do not need an account, but your progress will not show on another device.
5Recommended order
If you are starting for the first time, follow the parts in numerical order. The introduction is the basis for everything after it; in particular, read Memory, addresses and pointers before linked lists. Then come Arrays, followed by Linked Lists. Stack and Queue are built on those two, and trees and graphs use the same idea of linked structures.
If you are revising a particular topic, you can go straight to that lesson. The "Know these first" line at the top of each lesson shows you any foundation you might be missing.
A short vertical video is being prepared for every lesson. Videos will be added to each lesson's page as they are published.
6Try it
Where is lesson 3.2.4 in the curriculum?
The answer is B. The number gives the levels in order: part, subtopic, lesson. 3.2.4 is the 4th lesson in the Doubly Linked List subtopic of the Linked Lists part.
Show the answer
The answer is B. The number gives the levels in order: part, subtopic, lesson. 3.2.4 is the 4th lesson in the Doubly Linked List subtopic of the Linked Lists part.
Where are the lessons you mark with "I finished this lesson" stored?
The answer is B. The record is kept in the browser and needs no account. That is why your marks do not appear when you visit from another device.
Show the answer
The answer is B. The record is kept in the browser and needs no account. That is why your marks do not appear when you visit from another device.
Lessons you mark show up in the curriculum. This is kept on this device only.