-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revised the article after creative writing session
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Algorithms are just recipes | ||
|
||
Algorithm - the buzzword many people use but do not know about its meaning. There is an easy way to understand this big word. | ||
Algorithm - the buzzword many people use but do not know its meaning. There is an easy way to understand this big word. | ||
|
||
In one of my first lectures during my bachelor's, a professor used 'recipe' as a metaphor for an algorithm. When working with algorithms, we have an input, follow some steps, and return an output. Those steps can be iteratively one by one or loops where we repeat a certain process multiple times. | ||
When working with algorithms, we have an input, follow some steps, and return an output. Those steps can be iteratively one by one or loops in which a process is repeated multiple times. The same procedure as when following a recipe. | ||
|
||
Taken the example of making the dough for cookies. As input we take flour, butter, sugar and an egg. For the steps we need to knead the flour, butter, sugar, and the egg until the mass becomes a smooth dough (while loop). Now we have the finished dough ready to be processed (output). | ||
Take the example of making the dough for cookies. As input, we take flour, butter, sugar, and an egg. For the steps, we need to knead the flour, butter, sugar, and egg until the mass becomes a smooth dough (while loop). Now, we have the finished dough ready to be processed (output). | ||
|
||
## Authors | ||
Laura Engist |