Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Challenge: "Words" In A String

by ikegami (Patriarch)
on Sep 19, 2008 at 03:01 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found