I think you have to look at this book "Algorithms on Strings, Trees and Sequences: Computer Science and Computational Biology"
By Dan gusfield. It has wonderful data structure which works really fast for string operations. On Wed, May 19, 2010 at 4:16 PM, vignesh radhakrishnan < rvignesh1...@gmail.com> wrote: > I'm trying to solve some string problems somewat efficiently. Can someone > tell me what would be efficient DS for solving these problems > http://acm.jlu.edu.cn/joj/showproblem.php?pid=1014 > http://acm.jlu.edu.cn/joj/showproblem.php?pid=1873 > > Thanks, > Regards, > Vignesh > -- > There are two kinds of people. Those who care for others and The others > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- ---------------------------------------------------------------------- If u doubt your believes,u believe ur doubts If u fail to practise,u practises failure ------------------------------------------------------------ Thanks and Regards GopiNath -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@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.