![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Fibonacci Generatorby blazar (Canon) |
on May 26, 2007 at 13:05 UTC ( #617672=note: print w/replies, xml ) | Need Help?? |
could try this out - if (n==1 || n == 2) { return 1;} else { return (fib(n-1) + fib(n-2)); } Whoa! What algorithm is that? It must be something absolutely new and ingenious: has anybody seen anything similar before?!? But... what language is that?
In Section
Code Catacombs
|
|