At its most basic, an algorithm is the set of instructions needed to execute a calculation or operation and can apply to mathematics and computer science. Artificial intelligence could not exist without these instructions, so the algorithm is the core aspect of Artificial Intelligence. There are two types of algorithms: static and dynamic.automating-business-technology
A static algorithm remains constant, responds similarly to new input data, and requires a programmer to change its instructions and output.
A dynamic algorithm is designed and programmed to learn as it completes assigned instructions against the increasing data that it processes. As it processes new data, it can adjust its instructions to consider attributes of the new data not previously encountered, test its output, and adjust its instruction set to achieve the optimum result from the data provided.