Algorithm
An algorithm is a step-by-step set of instructions for solving a problem — like a recipe that always produces the same result for the same input.
General Programming
Sorting a list, finding the shortest route, or searching for a value are all done with algorithms. Their efficiency is measured with Big O notation.