An algorithm is a solution to a problem or several problems, algorithms consist of individual steps!
This means that executions can be formulated in a computer program and are faster than standard solutions! An algorithm is designed for logic, speed and accuracy, so that even more complex tasks can be mastered in a shorter time!
Simple algorithms logic example!
If 1 < 2 and 2 < 3 then it is known without query that 1 < 3 and 3 > 2 and 3 > 1, .... On this basis, in order to understand it, algorithms are built. It looks like AI but it's not, it's pure logic.