Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re (tilly) 1: Golf (Inspired): Repeated Phrases

by Masem (Monsignor)
on May 10, 2001 at 17:56 UTC ( #79402=note: print w/replies, xml ) Need Help??

in reply to Re (tilly) 1: Golf (Inspired): Repeated Phrases
in thread Golf (Inspired): Repeated Phrases

For sake of the golf problem, your example would return all 3 cases if m,n is 2,3. Extra credit for not including and/or removing phrases of x words that are part of phrases with y (y > x) words in the returned list.

And the list must be of non-null words, so no trivial solutions :-)

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
  • Comment on Re: Re (tilly) 1: Golf (Inspired): Repeated Phrases

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-22 06:44 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.