Home
Glossary
Algorithm

# Algorithm

Intermediate

In short, an algorithm is a set of steps that defines a sequence of actions. It may also be described as a set of commands designed to achieve a specific goal or solve a particular problem. Algorithms are mainly used and studied in the fields of mathematics and computer sciences, but they may also be related to other contexts, such as biological neural networks and electronic devices.

In computer science, an algorithm consists of a sequence of unambiguous instructions that conduct computer programs to perform a variety of tasks. They can be designed to execute a simple action like subtracting two numbers, or more complex operations, like finding the best route between two or more geographic locations. As such, computer algorithms are extremely useful for performing all sorts of tasks, from calculations, data processing, and even decision-making.

Every algorithm is made of a fixed beginning and ending point, producing outputs according to the inputs and to the predefined steps. Multiple algorithms can be combined to perform more elaborate tasks, but higher complexity also requires more computational resources.

Algorithms can be measured by their correctness and efficiency. Correctness refers to the algorithm’s accuracy and whether or not it can solve a certain problem. Efficiency is related to the amount of resources, and time an algorithm needs to perform a particular task. Many computer scientists use a mathematical analysis technique known as asymptotics to compare different algorithms, regardless of the programming language or hardware they are running on.

In the context of blockchain, the Bitcoin’Proof of Work algorithm is an essential component of the process of mining - which verifies and validates transactions, while securing the network and assuring itis functioning as intended.
Glossary

A phrase of Latin origin that is used in modern English to mean 'for this purpose' or 'specifically for this.'

Glossary

A reward posted by a group or individual to incentivize certain work, behavior (such as referrals), or deve...

Glossary

The property of a definite function that can produce an outcome that passes statistical tests of randomness.

Glossary

A collection of stable resources, which may include executable files, documentation, message templates, and...

Glossary

The act of mining two or more cryptocurrencies at the same time, without sacrificing overall mining perform...

Glossary

The speed at which a computer or mining hardware is able to calculate new hashes. Usually measured in hashe...

Glossary

The output produced by a hash function after a piece of data is mapped. May also be referred to as hash val...