GUIDES / ALGORITHM BASICS

Algorithms, explained simply.

An algorithm is a finite set of instructions designed to solve a problem or perform a task.

THE ESSENTIALS

Built on clear principles.

Inputs and outputs

An algorithm receives inputs, applies rules or operations, and produces an output or changes a system state.

Efficiency

Developers evaluate how much time and memory an approach may require as input sizes change.

Testing

A reliable evaluation considers expected cases, edge cases, and the environment in which the algorithm runs.

KEEP EXPLORING

Curiosity is a good place to start.

Browse the learning center for clear explanations of algorithms, probability, data, and digital safety.

Visit the learning center