How create the effective program

Indonesia
November 14, 2008 7:06am CST
It's hard to me for create effective algorithm. So, is there a trick or tips to design the algorithm?
2 responses
• China
16 Nov 08
First of all, to create effective algorithm, you must have steady mathematics knowledge so that you can analyze the time effect of your algorithm. Secondly, Some books you must read, such as The Art of Computer Programming by Donald E.Knuth and Introduction To Algorithm(MIT). These books are masterpiece of algorithm design. Finally, practice more ACM problem to improve your programming skills.
@mr_mlk (364)
15 Nov 08
Read up on algorithms. Introduction to Algorithms (MIT Press) is commonly considered one of the best books on the subject, but is very hard going. Use a profiler and make sure you spend your time on the slow part of your application. And most importantly: worry about maintainability over “speed”.