Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Cookies in boxes - algorithmic challenge Date: Sat, 11 Apr 2026 04:31:32 -0700 Organization: A noiseless patient Spider Lines: 14 Message-ID: <86ik9xag2z.fsf@linuxsc.com> References: <20260401163447.000052de@yahoo.com> <20260409000116.0000461d@yahoo.com> <86a4vbbruq.fsf@linuxsc.com> <20260410180644.00006e88@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 11 Apr 2026 11:31:33 +0000 (UTC) Injection-Info: dont-email.me; posting-host="21f9f6d525ecd04de8977c5f6117a238"; logging-data="1813112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0FoPAB5kjB2mhbzDW0bNs4lUyzz1kfcQ=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:X8C4cfzdD8IheMNtIIdrLFDkLQM= sha1:Qji0iJDdKaTXN57sWYcuz+aVaK0= Xref: csiph.com comp.lang.c:397485 Michael S writes: [...] > I don't have a roadmap, but I have a variant of [approximately] the > same algorithm implemented in the style that is closer to your > preferences: implicit bookkeeping by recursion instead of explicit > lists and back-trace pointers. I even borrowed the name "seen" from the > code of your friend. > > [..code..] I appreciate the response. It will take me some time to look at this, and so I'm not sure when I can get to it.