Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 surveying the Monastery: (10)
As of 2014-09-03 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls