Re: Fibonnaci
- From: Jordan Abel <jmabel@xxxxxxxxxx>
- Date: Fri, 9 Dec 2005 05:28:26 +0000 (UTC)
On 2005-12-09, Richard Heathfield <invalid@xxxxxxxxxxxxxxx> wrote:
> Write it. See how slow it is? Find out why. Hint: use printf.
>
> Now think about how you could make it a lot faster. Hint: think about
> arrays.
All that's needed to change the worst-case performance to linear is a
two-element cache.
.
- Follow-Ups:
- Re: Fibonnaci
- From: buda
- Re: Fibonnaci
- References:
- Fibonnaci
- From: MARQUITOS51
- Re: Fibonnaci
- From: Richard Heathfield
- Fibonnaci
- Prev by Date: Re: Fibonnaci
- Next by Date: Pointer problem
- Previous by thread: Re: Fibonnaci
- Next by thread: Re: Fibonnaci
- Index(es):
Relevant Pages
|