Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'differently.': 0.09; '12:57': 0.16; '23,': 0.16; 'agreed,': 0.16; 'benjamin': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implies': 0.16; 'wording': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'received:209.85': 0.35; 'problem.': 0.35; 'received:209.85.220': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'possible': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'read': 0.60; 'results': 0.69; 'oscar': 0.84; 'stronger': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=K3lDiONeVp7GtRcvaMTHwsG7yskC0sdOu9k37AgXA5Q=; b=r6yNWGPHMSDmzCSj4wKmZoJzVDHEFd5h3g8NfQZDr8qz3DN4cn8h66016u6PiGTnhe DK6aJcW8r4rhGUm70qydV+LYmqVWeYnSfbNwEi9XoHKtExHhQ3RtFxnBfYVTToZKLHNj CeVNP8DeMTNwUvFrI9Vh9ZEKBOlG5SwP2WmLdA+8hjgj5H9IIwL6qlaeIjJaqxVoxTn3 rbxY4K/lCS3jzg2THl4nZ/+J/vH3HJphYx6gFJSbTA0qvT1HCyyPQ6g+nmh2DVh6xRxL KJJco1qb5KjjWhAhD4IY5rMaWcWk4biAT60DvFZArboxlSxB7Xu2XOpu37otkZAjCZoT lO0g== MIME-Version: 1.0 X-Received: by 10.52.97.8 with SMTP id dw8mr16612389vdb.91.1366642952206; Mon, 22 Apr 2013 08:02:32 -0700 (PDT) In-Reply-To: References: <09f7da52-b0d6-4167-957f-d207faf33d07@googlegroups.com> Date: Tue, 23 Apr 2013 01:02:31 +1000 Subject: Re: Confusing Algorithm From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366642955 news.xs4all.nl 2192 [2001:888:2000:d::a6]:35012 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44083 On Tue, Apr 23, 2013 at 12:57 AM, Oscar Benjamin wrote: > On 22 April 2013 13:56, Chris Angelico wrote: >> There are other possible readings of the problem. > > I read it differently. I thought the threads would go 1->5->7->5->2. I hadn't thought of that one, but agreed, that's also plausible, and it results in an answer of 4. It's a stronger contender than the one I posited, because the wording implies that there are multiple ways to do it and you have to pick/find the best. Seems to me the problem's a little under-specified, tbh. ChrisA