From: Philip Gatt Date: 2008-01-19T01:50:03+09:00 Subject: Re: [QUIZ] Longest Repeated Substring (#153) I hope I get some time to take a shot at this one. It looks like fun. On Jan 18, 2008, at 8:43 AM, James Gray wrote: > On Jan 18, 2008, at 10:37 AM, Dave Thomas wrote: > >> On Jan 18, 2008, at 7:23 AM, Ruby Quiz wrote: >> >>> Repeated substrings may not overlap. If more than one substring >>> is repeated >>> with the same length, you may print any of them. If there is no >>> repeated >>> substring, the result is an empty string (print nothing). >> >> Must they be adjacent, or does "aaabaaa" contain the repeating >> substring "aaa"? > > They do not have to be adjacent. aaa would be a valid answer for > aaabaaa. > > James Edward Gray II > >