|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Re: Re: (Golf) Dependency List Prioritizationby Sidhekin (Priest) |
| on Mar 15, 2002 at 10:16 UTC ( [id://152003]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Assuming the test harness provided, I doubt anyone can beat this:
Try this for a test harness:
Your code produces 'd','b','c','f','e','a', which does not reflect the fact that 'f' depends on 'a'. So, I am afraid your solution holds only for a limited set of test harnesses -- and is certainly not the shortest among such solutions. The Sidhekin
In Section
Meditations
|
|
||||||||||||||||||||||||