An algorithm shows how to solve a problem.