Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: Find the number of robots needed to walk through the rectangular grid Date: Sat, 09 Apr 2016 15:10:17 -0400 Organization: IISS Elusive Unicorn Lines: 21 Message-ID: References: <8c570da8-ab31-44f3-9fdf-83e28741ffe4@googlegroups.com> <6ikigb1ri71e4l1s84v3ldiil2uohi6f1p@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de oCQY4NkztZrE12LNFwX41ADR86uOaabQKtG1sHhvkjvw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'assignment': 0.07; 'incompatible': 0.07; 'subject:number': 0.07; 'works.': 0.07; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '2016': 0.16; 'algorithm.': 0.16; 'homework...': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:robots': 0.16; 'implementing': 0.18; 'url:home': 0.18; 'language': 0.19; 'algorithm': 0.20; 'sat,': 0.23; "doesn't": 0.26; 'header:X-Complaints-To:1': 0.26; 'joe': 0.27; 'ago': 0.29; "i'm": 0.30; 'post': 0.31; 'especially': 0.32; '-0700': 0.33; 'advice': 0.35; 'solving': 0.35; 'something': 0.35; 'possible': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'suggestion': 0.37; 'charset:us- ascii': 0.37; 'google': 0.39; 'means': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'side': 0.62; 'further': 0.62; 'bothered': 0.66; 'offer': 0.66; 'researching': 0.84; 'birthday': 0.91; 'dennis': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-73-119-234.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <6ikigb1ri71e4l1s84v3ldiil2uohi6f1p@4ax.com> X-Mailman-Original-References: <8c570da8-ab31-44f3-9fdf-83e28741ffe4@googlegroups.com> Xref: csiph.com comp.lang.python:106755 On Sat, 9 Apr 2016 10:13:04 -0700 (PDT), Joe declaimed the following: >Could you post a formal solution of disjoint-set using my algorithm You've been given a suggestion to a possible means of solving the assignment -- researching that solution is now on your side of the fence. We don't do homework... And likely your algorithm is incompatible with the concept (I've not bothered to google "disjoint set"). Especially as nothing in this is Python specific -- working out the algorithm IS the assignment; Python is just the means of implementing the algorithm. When something doesn't work in your Python implementation, we might offer further advice about how the language works. {My birthday was a few days ago -- I'm transitioning in the "crotchety old man stage") -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/