XP is just a number | |
PerlMonks |
Re: fibonacci numbers using subroutine?by FunkyMonk (Chancellor) |
on Aug 20, 2010 at 00:13 UTC ( [id://856157]=note: print w/replies, xml ) | Need Help?? |
For extra points, check out what Wikipedia has to say about Fibonacci numbers, and then implement a recursive1 solution. Recursion can lead to some wonderfully beautiful solutions to programming problems, but not always efficiently. Memoize can often increase their efficiency greatly, so take a look at that too. Post your solutions here for further comment, and enjoy your journey. Good luck
---
In Section
Seekers of Perl Wisdom
|
|