for the input "doomdoomdoom" output is 4 or 8? On Jun 30, 2:04 am, Dumanshu <duman...@gmail.com> wrote: > I have used suffix arrays. Its easier to implement than trees. > code here-http://ideone.com/kX8MV > In case u find a test case givin wrong output plz do tell. > > On Jun 29, 9:54 pm, Swathi <chukka.swa...@gmail.com> wrote: > > > > > > > > > Given a string (assume there no spaces or punctuations), write a code that > > returns the max. length of the string that has repeated more than once. > > > Thanks, > > Swathi
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.