Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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: (7)
As of 2015-07-29 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls