å|gö®îtHm

This is a discussion on å|gö®îtHm within the C++ Programming forums, part of the General Programming Boards category; I don't know what the hell Algorithm is.. I always here people talking about it... It sound like some REALLY ...

1. å|gö®îtHm

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

2. 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.

3. 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

4. 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.

5. From a programming perspective

From a programming perspective, and algorithm is simply the way you deal with data to solve your problem.