An algorithm is a step-by-step set of instructions used to solve a problem or complete a task. Computers use algorithms to sort information, perform calculations, display search results, and make decisions. Every computer program is built from one or more algorithms.
