First the definition:
What is an algorithm? :
A step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps.
It's often said that you can make your program faster using better algorithm when someone talk about improving performance. I have studied lot of algorithms and also read
Mastering Algorithms with Perl to know the tips and tricks. Having worked with perl's
sort functionality, I have really not used other sort algorithm such as 'bubble sort', 'radix sort', or 'heap short', 'shell sort' etc.. other than for educational purpose.
Searching CPAN for algorithm yields to many evolutionary algorithms.
Some others are: MarkovChain, Huffman, Permute, Merge, Text::English , Image Processing Algorithms etc..
My Questions:
1. -- What type of good algorithm you have used for your programs and how do you come up with good algorithms?
2. -- Would you consider integrating different technology in a proper way to do the task (ex.. Apache, MySQL, Perl, HTML) as an algorithm ? What can be said about integrating different modules in a single program ( CGI, LWP, DBI) that you use over and over again.
Thanks,
artist
==================
Update 1:
Small example of algorithm: Finding GCD
Commercial big example of algorithm: Google's Page Rank
Update 2:
Definition is taken from Reference.com
Update 3:
Top 10 Algorithms from Computing in Science & Engineering, which includes FFT and Simplex algorithms.
In reply to Algorithms
by artist
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.