Inputs and outputs
An algorithm receives inputs, applies rules or operations, and produces an output or changes a system state.
GUIDES / ALGORITHM BASICS
An algorithm is a finite set of instructions designed to solve a problem or perform a task.
THE ESSENTIALS
An algorithm receives inputs, applies rules or operations, and produces an output or changes a system state.
Developers evaluate how much time and memory an approach may require as input sizes change.
A reliable evaluation considers expected cases, edge cases, and the environment in which the algorithm runs.
KEEP EXPLORING
Browse the learning center for clear explanations of algorithms, probability, data, and digital safety.
Visit the learning center