Algorithms are like a step-by-step manual to reach a goal from a defined start position.
You could even count the following as an algorithm:
Situation: You have dirty hands.
Goal: You want to have clean hands.
Algorithm:
As long as your hands are dirty
-hold your hands under water for 10 seconds
-use soap and wash your hands for 30 seconds
Algorithms are like a step-by-step manual to reach a goal from a defined start position.
You could even count the following as an algorithm:
Situation: You have dirty hands.
Goal: You want to have clean hands.
Algorithm:
As long as your hands are dirty
-hold your hands under water for 10 seconds
-use soap and wash your hands for 30 seconds