{ }

Computer Science

Algorithms, data, logic and machine learning. 117 topics, from beginner to advanced.

Browse all 117 Computer Science topics →

Featured

Visual showcases to start with
Computer Sciencebeginner#696

Merge Sort

Split in half, sort each half, merge. Divide and conquer guarantees O(n log n).

Computer Sciencebeginner#697

Quicksort

Pick a pivot, partition smaller left and larger right, then recurse.

Computer Sciencebeginner#704

Breadth-First Search

Visit nodes level by level using a queue; finds shortest paths in unweighted graphs.

Computer Sciencebeginner#706

Dijkstra’s Shortest Path

Always expand the closest unvisited node; distances settle permanently.

Computer Scienceintermediate#734

Conway’s Game of Life

Cells live or die by counting neighbours — gliders, oscillators and computers emerge.

Computer Scienceintermediate#735

The Mandelbrot Set

Iterate z → z² + c; the points that never escape trace an infinitely detailed boundary.

Computer Scienceadvanced#733

Rule 110: A Universal Computer

This simple rule is Turing-complete, capable of any computation.

Computer Scienceintermediate#736

Julia Sets

Each constant c gives a different fractal; they are connected exactly when c is in the Mandelbrot set.

Computer Scienceadvanced#740

Gradient Descent

Step downhill along the negative gradient to minimise a loss; too big a step overshoots.

Computer Scienceintermediate#739

A Single Artificial Neuron

Weighted inputs plus a bias pass through an activation function to give an output.

Computer Scienceadvanced#801

Transformers and Attention

Attention lets every token weigh every other token when building meaning.

Computer Scienceadvanced#802

Reinforcement Learning Loop

An agent acts, receives rewards and learns a policy to maximise them.

Popular

Classic topics most learners start with
Computer Sciencebeginner#693

Bubble Sort

Repeatedly swap adjacent out-of-order items so large values bubble to the end.

Computer Sciencebeginner#702

Binary Search

On sorted data, halve the search range each step: a million items need only 20 checks.

Computer Sciencebeginner#711

Stack

Last in, first out: the structure behind undo, function calls and parentheses matching.

Computer Sciencebeginner#712

Queue

First in, first out: the structure behind print jobs, buffers and breadth-first search.

Computer Scienceintermediate#715

Hash Tables

A hash function maps keys to buckets for near-instant lookup; collisions are chained.

Computer Scienceintermediate#716

Linked Lists

Nodes hold a value and a pointer to the next node, making insertion cheap but access slow.

Computer Sciencebeginner#724

Binary Numbers

Every bit is a power of two: 1011₂ = 8 + 2 + 1 = 11.

Computer Scienceadvanced#748

RSA Public-Key Cryptography

Multiply two primes to make a public key; recovering them to decrypt is believed infeasible.

Computer Scienceadvanced#747

Caesar Cipher

Shift each letter by a fixed amount: the ancient cipher, easily cracked by trying all 25 keys.

Computer Sciencebeginner#709

Recursion: Tower of Hanoi

Move n disks by solving the problem for n−1 twice. Recursion in its purest form.

Computer Scienceadvanced#751

How a Web Request Works

A browser resolves a name, opens a connection and fetches a page.

Computer Scienceadvanced#800

Convolutional Neural Networks

Learned filters slide over an image to detect edges, textures and then objects.

All 117 Computer Science topics

🌱 Beginner

🔧 Intermediate

🚀 Advanced

Frequently asked questions

What will I learn in Computer Science?

Algorithms, data, logic and machine learning. Each topic has a live animation, a lesson and a quick quiz.

Where should I start?

Try “Bubble Sort” from the Popular list, or any beginner topic in Browse.

Are the topics in a set order?

Browse groups topics by level, with beginner topics first. Each topic’s FAQ names the topic to read before it.

Other subjects