Page 1 of 1

Algorithms

Posted: Wed Apr 22, 2009 12:11 am
by mattnenterprise
I am new to algorithms. I was wonder of a good book or website to learn algorithms.

Re: Algorithms

Posted: Wed Apr 22, 2009 8:55 am
by Arce
Uh.

What?

Re: Algorithms

Posted: Wed Apr 22, 2009 9:53 am
by dandymcgee
Arce wrote:Uh.

What?
"Algorithms" is about as generic as "Computers". :lol:

You need to go into far more detail about what sort of algorithms you need and what you're trying to use them for (AI, pathfinding, collision detection, your math homework?).

Re: Algorithms

Posted: Wed Apr 22, 2009 10:45 am
by sparda
No actually, this is a valid question. I took an algorithms class not so long ago, so such a school study is certainly well defined and specific. I recommend books by Knuth; but since you're looking for a introduction (Knuth is pretty hardcore), I'd say buy this book instead: McGraw Hill - Introduction To Algorithms, 2nd Edition.

Re: Algorithms

Posted: Wed Apr 22, 2009 11:11 am
by MarauderIIC
I don't remember what book I had for my Algorithm Design course, but in your searches you may throw in the word "design".
Actually I'm not sure that I even had one. Maybe we just used wikipedia.

Re: Algorithms

Posted: Wed Apr 22, 2009 12:09 pm
by avansc
imo learning algorithms without a specific application will not only be very hard, but very useless as well.

Re: Algorithms

Posted: Wed Apr 22, 2009 1:11 pm
by MarauderIIC
Mmm... learning algorithms to solve, for instance, various problems related to graphs, have quite a few uses. And problems that can be reduced to such are hard to recognize unless you know the algorithm, just because knowing an algorithm teaches you what they solve.

Re: Algorithms

Posted: Wed Apr 22, 2009 1:53 pm
by Falco Girgis
I'm going to have to agree with avansc. Learning "algorithms" without an application is stupid. In school you are taught with examples and scenarios involving data structures, linked lists, and other objectives. If you are just looking for a good read, it would be dry and horrible reading.

What kind of algorithm do you want? Sorting? Any specific task? Pick the task then google it, there should be tons of articles on whatever you want.

Re: Algorithms

Posted: Wed Apr 22, 2009 6:32 pm
by sparda
I'll have to agree with Mar here. It is true that, blatantly, algorithms in a general sense seems to not have "application," but that notion is really subjective, in my opinion. It takes a working knowledge of the algorithm, in addition to the problem at hand, in order to have ample application. And one cannot simply pick up an algorithm and pretend to be fully competent from a reference at the mere time of need; especially, if its application is vital.

Can you imagine if everyone thought that you should not pursue a study with application!? Perhaps Doom would have never been released. Before John Carmack's genius insight, BSD trees where plastered in obscure, esoteric CS books, with seldom application. Of course, in Carmack's case, we don't know if he had prior knowledge of the algorithm before Doom. Knowing Carmack's genius though, I'd rather think that he knew about the algorithm way before he needed to use it.