@sukran, string shouldn't be replaced, only addition of characters allowed
On Tue, Sep 6, 2011 at 1:48 PM, sukran dhawan <[email protected]>wrote: > my soln works without increasing the string length > > just start with first and last character copy last character with first > increment i and decrement j and contibue the procedure > continue the same till u get mid element :) > > On Tue, Sep 6, 2011 at 12:56 PM, Atul Modi <[email protected]> wrote: > >> can u remove letters also?....as in the example 1 'o' seems to have been >> removed? >> >> >> On Tue, Sep 6, 2011 at 12:25 PM, anshu mishra >> <[email protected]>wrote: >> >>> http://www.spoj.pl/problems/AIBOHP/ >>> >>> same problem u have asked!! >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
