Article View: comp.lang.pascal.borland
Article #652Re: WHAT COULD BE WRONG?
From: Osmo Ronkanen
Date: Thu, 18 May 2000 00:00
Date: Thu, 18 May 2000 00:00
15 lines
1264 bytes
1264 bytes
In article <8g100h$hj5$1@news.iaehv.nl>, Huub van Dooren <hvdooren@iae.nl> wrote: >Here are some (maybe usefull) notes on your program. > >1. Do not use the word _recursive_ when you are talking about a >loop. Recursive procedures are procedures where the outcome >depends on a previous call to that procedure. >Examples: Fibonacci numbers Argh! That has to be the absolutely worst example for recursion. It takes exponential time to solve a linear problem when one uses recursion with Fibonacci numbers. Osmo
Technical Details
Message-ID:
<8g1g4a$p63$1@kruuna.Helsinki.FI>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<D0OU4.6707$C9.118410@news1.online.no> <8g100h$hj5$1@news.iaehv.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111659,1d4aea8798c741f5 X-Google-Attributes: gid111659,public X-Google-Thread: 1097b9,1d4aea8798c741f5 X-Google-Attributes: gid1097b9,public From: ronkanen@cc.helsinki.fi (Osmo Ronkanen) Subject: Re: WHAT COULD BE WRONG? Date: 2000/05/18 Message-ID: <8g1g4a$p63$1@kruuna.Helsinki.FI> X-Deja-AN: 625115422 References: <D0OU4.6707$C9.118410@news1.online.no> <8g100h$hj5$1@news.iaehv.nl> X-Complaints-To: usenet@news.helsinki.fi X-Trace: oravannahka.helsinki.fi 958677963 7116 128.214.205.14 (18 May 2000 19:26:03 GMT) Organization: University of Helsinki NNTP-Posting-Date: 18 May 2000 19:26:03 GMT Newsgroups: comp.lang.pascal.borland,dk.edb.programmering.pascal