An algorithm is a procedural plan for solving mathematical and computer problems such as sorting data, for example. It’s not a computer program yet. It’s merely a description of how you want the program to perform a task.

You can think of an algorithm as an outline, such as one a writer prepares before writing the piece. Similarly, a developer can plan how to solve a problem before writing the actual program.

People also search for…