Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Challenge: "Words" In A String

by ikegami (Pope)
on Sep 19, 2008 at 03:01 UTC ( #712430=note: print w/ replies, xml ) Need Help??


in reply to Challenge: "Words" In A String

I have a mostly working solution. I found three great test cases:

penisland --------- pen island penis land pen is land penis l and pen is l and penis l an d pen is l an d zatxtaz ------- z at x ta z xapenx ------ xa pen x x ape nx

I get all but "xa pen x" at the moment — it prints "x a pen x" — and I haven't attempted sorting yet.


Comment on Re: Challenge: "Words" In A String
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://712430]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2016-02-11 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (377 votes), past polls