Re: Algorithms
- From: Patricia Shanahan <pats@xxxxxxx>
- Date: Thu, 29 Mar 2007 09:08:36 GMT
jt wrote:
....
So my question is, when you are sitting down looking at a problem, no matter how simple or complex it may be, how do you come up with an algorithm, or technique to solve it? Do you consult books, online sites or other sources? I remember taking a course in university on Analysis of Algorithms, but there was never anything taught on how to come up with them. I prefer to come up with my own solutions, I find that I learn more that way, but if I have to resort to using a pre-existing algorithm I will. Like that topic I started a while ago about my chess game simulator. Someone had a brilliant idea (I think it was Eric) about using pushers to do some of the work. How did he come up with that?....
I use a combination of on-line searches, books, and just plain thinking.
There are design patterns for algorithms. Once you learn them, with a
bit of practice algorithm problems start feeling like
divide-and-conquer, or feeling like dynamic programming.
Patricia
.
- Follow-Ups:
- Re: Algorithms
- From: JohnT
- Re: Algorithms
- From: Chris Smith
- Re: Algorithms
- References:
- Algorithms
- From: jt
- Algorithms
- Prev by Date: Re: Algorithms
- Next by Date: Re: New to Java - quick question on embedding in browser
- Previous by thread: Re: Algorithms
- Next by thread: Re: Algorithms
- Index(es):
Relevant Pages
|
|