the output shd be epo.. hint to the problem : PROBLEM DO NOT READ IF U WANT TO SOLVE THE URSELF it involves the concept of finding window u hv to 1st search for the window which contains all characters of string. then u have to alter window so as to get minmum length window..
On 17 May 2010 16:44, Modeling Expert <cs.modelingexp...@gmail.com> wrote: > @Divya > BigS =" Hellepo What's up" > SmallS = 'eo' > o/p should be ? "ellepo" OR "epo" ? > > if its "ellepo" DP would work fine . If its "eo" probably need some > modification in DP. > > -Manish > > > On May 16, 8:36 pm, Navin Naidu <navinmna...@gmail.com> wrote: > > @Sharad: yup > > > > On Sun, May 16, 2010 at 8:36 PM, Rohit Saraf < > rohit.kumar.sa...@gmail.com>wrote: > > > > > > > > > @Navin: and that works ! :) > > > @all : i am sure no heuristic/greedy strategy can be applied. > > > @divya : did you check your array partitioning algorithm with my > example ! > > > > > -------------------------------------------------- > > > Rohit Saraf > > > Second Year Undergraduate, > > > Dept. of Computer Science and Engineering > > > IIT Bombay > > >http://www.cse.iitb.ac.in/~rohitfeb14<http://www.cse.iitb.ac.in/%7Erohitfeb14> > <http://www.cse.iitb.ac.in/%7Erohitfeb14> > > > > > -- > > > 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> > <algogeeks%2bunsubscr...@googlegroups.com<algogeeks%252bunsubscr...@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/algogeeks?hl=en. > > > > -- > > Thanks & Regards, > > > > - NMN > > > > -- > > 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 athttp:// > groups.google.com/group/algogeeks?hl=en. > > -- > 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. > > -- 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.