Path: csiph.com!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.programming Subject: Re: A little puzzle. Date: Thu, 24 Nov 2022 00:06:35 +0000 Organization: A noiseless patient Spider Lines: 16 Message-ID: <87leo1i5bo.fsf@bsb.me.uk> References: <875yf8nijb.fsf@bsb.me.uk> <865yf79l66.fsf@linuxsc.com> <87wn7nj9mb.fsf@bsb.me.uk> <86sfi98xnx.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="66cc716c1d8e20186aec3fe895a20c78"; logging-data="511210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x9vLQRp+I7+m7Rh9Jci7rqlTw31PHDwc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:YsnId+sUQEoqSRp3vub9bTCVB54= sha1:aO0sV/XZWmnVFzQRXoXxt8cm2/g= X-BSB-Auth: 1.fe1a68135b668ec137fc.20221124000635GMT.87leo1i5bo.fsf@bsb.me.uk Xref: csiph.com comp.programming:15953 Tim Rentsch writes: > I think this problem would make a good interview question, > provided care were taken to phrase it so the subtleties were > still there, but possible points of confusion were reduced. > Not that I know how to do that... :) I didn't make a good job of presenting it. It certainly didn't pique anyone else's interest, but then comp.programming is not well populated. One thing that struck me was that I had not come across this before. I was surprised that this was not one of those idioms that one absorbs along the way. I suppose it is of limited use. -- Ben.