An algorithm is a step-by-step set of rules or instructions designed to perform a specific task or solve a problem. (Merriam-Webster)
Algorithms function through a simple three-step process:
- Input: The raw data or information provided to start the process.
- Process: The systematic sequence of instructions applied to the input.
- Output: The final result, decision, or transformed data.
(Stanford HAI)