An algorithm is a well-defined procedure that allows a computer to solve a problem. Another way to describe an algorithm is a sequence of unambiguous instructions. ... In fact, it is difficult to think of a task performed by your computer that does not usealgorithms.