Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Golf: Embedded In Orderby petral (Curate) |
on Apr 27, 2001 at 22:25 UTC ( [id://76206]=note: print w/replies, xml ) | Need Help?? |
35 chars:
update: And now what everyone's been waiting for: The longest word(s) with all letters in alphabetical order: solaris /usr/dict/words:  almost biopsy linux    /usr/dict/words:  abhors almost begins biopsy chintz The longest word(s) with all letters in reverse alphabetical order: sol:  sponge lun:  sponged wronged The word(s) with the most letters in alphabetical order: sol: condemnatory 8 lun: administratively antidisestablishmentarianism behavioristic         demonstratively incomprehensibility 8 shortest: behavioristic update oopsdate: Removed words w/ most letters in order. It was wrong, though noone remarked on it (if you were being polite, thank you). Will re-post when, if I get it right. Anyone else care to try? update 3: maybe the above are right now. The code is: Update the last:  Actually, this one can be done in 27 chars:   ...or 30 with provision for strange_chars/newlines: But see my trimming of japhy's above.   p
In Section
Meditations
|
|