in reply to Recursion Alternatives?
There is another standard algorithm that has a elegant recursive solution: mergesort. Your "benchmark" would be far more interesting with mergesort than with factorials. And make sure to test data sets of different sizes.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Recursion Alternatives?
by Abigail-II (Bishop) on Feb 27, 2003 at 10:14 UTC | |
by BrowserUk (Patriarch) on Feb 27, 2003 at 11:07 UTC | |
by Abigail-II (Bishop) on Feb 27, 2003 at 11:08 UTC | |
by BrowserUk (Patriarch) on Feb 27, 2003 at 11:14 UTC | |
by Abigail-II (Bishop) on Feb 27, 2003 at 11:18 UTC |