Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-10-24 17:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.