AbstractAn algorithm is a scheme for solving a problem. Can be implemented with any sequence of values or objects that have an infinite logic that is, anything that can provide a logical sequence.