Learn computer science

See how the data moves and how the code works.

Read the explanation, compare the Python, C++, and Java implementations, then step through the same example in the animated demonstration.

Choose where to begin

Data Structures and Algorithms begins with storing values and moves into searching and sorting. Operating Systems begins with the role of the OS and follows programs through the kernel, scheduler, and memory manager.

DS
Course

Data Structures and Algorithms

Data structures and algorithms as a free visual course: arrays, lists, trees and graphs first, then sorting, searching, greedy and dynamic programming.

Arrays and linked listsStacks, queues, trees, and graphsSorting and searching
Open the course →
OS
Course

Operating Systems

Operating systems as a free visual course: OS basics, processes and threads, CPU scheduling, deadlocks, memory and paging, files and disk scheduling.

OS basics and system typesKernel and system callsProcesses, threads, and memory
Open the course →
How every lesson works

Diagram, code, output, and motion

  • Begin with a labeled visual of the structure or system.
  • Compare equivalent Python, C++, and Java code.
  • Read the input and expected output.
  • Play or step through the animated example.
A useful study order

Read, predict, then run

Pause before each animation step and predict what changes next. After the example, rewrite the code without looking and test it with a smaller input. That turns the page from reading material into practice.