Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: One for the weekend: challenge

by BrowserUk (Pope)
on Jun 03, 2008 at 04:14 UTC ( #689805=note: print w/replies, xml ) Need Help??

in reply to Re: One for the weekend: challenge
in thread One for the weekend: challenge

This produces correct output quite efficiently.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: One for the weekend: challenge
by sparkylu (Monk) on Jun 03, 2008 at 10:50 UTC
    So which solution matched up to your expectations the best? I haven't tried all of them yet... waiting for my next break.
Re^3: One for the weekend: challenge
by Limbic~Region (Chancellor) on Jun 03, 2008 at 18:22 UTC
    Here is the same code re-written to be more clear and maintainable. I still think the handful of special case scenarios could be reduced to a more general case. Unfortunately, I don't have time to try.

    Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689805]
[jkva]: Reminds me of Guardians of the Galaxy
[erix]: OT++: /me came across an osprey (=visarend (=Fischadler)) just now
[erix]: (osprey are pretty rare in NL)
[jkva]: erix whereabouts?
[erix]: Hey jkva! I am on Texel at the moment :)
[jkva]: Oh nice :)
[erix]: probably a 'doortrekker' ...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-10-20 10:11 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (260 votes). Check out past polls.