From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3e08c98d7ce85399 X-Google-Attributes: gid103376,public From: bourguet@my-deja.com Subject: Re: Eight Queens problem (was Re: Kindness) Date: 1999/09/07 Message-ID: <7r2fc6$1sc$1@nnrp1.deja.com>#1/1 X-Deja-AN: 521989257 References: <37CC6844.AB898EEE@rational.com> <37CE93CD.799A225A@pwfl.com> <37CF0FE0.2B299477@acenet.com.au> <37CFF7DC.CFF9717C@pwfl.com> <1999Sep3.125818.1@eisner> <37D02CC0.BEF1BC69@mitre.org> <7r1c4c$9an$1@nnrp1.deja.com> X-Http-Proxy: NetCache@sj-netcache: Version DEMO_9T4, 1.0 x22.deja.com:80 (Squid/1.1.22) for client 158.140.3.201 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue Sep 07 07:37:42 1999 GMT X-MyDeja-Info: XMYDJUIDbourguet Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (X11; I; SunOS 5.5.1 sun4u) Date: 1999-09-07T00:00:00+00:00 List-Id: In article <7r1c4c$9an$1@nnrp1.deja.com>, Robert Dewar wrote: > [...] one might say > > 8 queens is to backtracking as > factorial is to recursion > > :-) Do you want to say it is the canonical example of use or it is an as good example: there is another way to solve the problem which usually come first to mind? I've never had problem with recursion, but for factorial except when writing in a functionnal language I'll use iteration over recursion. -- Jean-Marc Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.