Fiveable
Fiveable

Algorithms

Definition

Algorithms are step-by-step instructions or procedures used to solve a problem or complete a task. They provide a clear set of instructions that can be followed to achieve a specific goal.

Analogy

Think of algorithms as recipes. Just like following a recipe to bake cookies, algorithms provide the necessary steps to solve a problem or complete a task.

Related terms

Route-finding algorithm: A route-finding algorithm is an algorithm used to determine the best path or route between two points on a map.

Sorting algorithm: A sorting algorithm is an algorithm used to arrange elements in a specific order, such as ascending or descending.

Search algorithm: A search algorithm is an algorithm used to find the location of a particular item within a collection of data.

collegeable - rocket pep

Are you a college student?

  • Study guides for the entire semester

  • 200k practice questions

  • Glossary of 50k key terms - memorize important vocab



© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.