I don't know what the hell Algorithm is..
I always here people talking about it... It sound like some REALLY complicated mathematical term.. but I dunno.
If you could be bothered give me your best definition :D
Printable View
I don't know what the hell Algorithm is..
I always here people talking about it... It sound like some REALLY complicated mathematical term.. but I dunno.
If you could be bothered give me your best definition :D
An algorithm is any mathematical equation.
E = mc^2 is an algorithm which uses m and c to find E.
5+5 is even an algorithm, even though that is not what is usually referred to by the word algorithm.
An algorithm is just a mathematical process to find an answer.
The bubble sort is an algorithm.
Fibbonaci is an algorithm.
y = x + 2 is an algorithm.
Algorithms are all over the place.
ahh thanks.. I've been doing them all along.. just didn't know the terminology i s'pose...
I feel REALLY stupid right now... :P
An algorithm is a well defined sequence of steps in order to achieve a goal.
Giving a mathematical function
f(x) = sqrt(x)
This is not a algorithm as it suggest no way to calculate
the square root.
From a programming perspective, and algorithm is simply the way you deal with data to solve your problem.