Hans Dieter Pearcey on 15 Oct 2003 11:15:50 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Small puzzle


On Wed, Oct 15, 2003 at 01:34:15AM -0400, Mark Dominus wrote:
> My function to do this is 18 lines long.  This is way too much code.
> I am sure there must be a simpler solution.  Can anyone think of a
> simpler solution?

I have one, but I realized after writing it that I was using the names
of the nodes as strings ("A", "E", etc.).  Is that allowed?

If so, it cuts it down to about 4 lines of actual code.

hdp.
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**


  • References: