Summary
In mathematics and computer science, an algorithm (ˈælɡərɪðəm (audio speaker iconlisten)) is a finite sequence of well-defined instructions, typically used to solve a class of specific problems or to perform a computation.[1]
Algorithms are used as specifications for performing calculations and data processing. By making use of artificial intelligence, algorithms can perform automated deductions (referred to as automated reasoning) and use mathematical and logical tests to divert the code through various routes (referred to as automated decision-making). ref