logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Expert QOTW #14 more results: msg#00141

Subject: Re: Expert QOTW #14 more results
Quantum Mechanic 
<quantum_mechanic_1964-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx>:
> MJD wrote:
> > I was not able to decide whether "" contained a repeated substring or
> > not, so when I wrote the question, I decided to let it go either way.
> ;)
> 
> Since 
> 
>   '' . '' == '' # all empty strings
> 
> then isn't '' it's own longest repeated substring?

Yes, obviously---except that the two instances of the substring are
not allowed to overlap.  Does "" overlap "" in the string "", or not?




<Prev in Thread] Current Thread [Next in Thread>