Suppose the two strings are ab and cd.

The possible strings formed by interleaving these two are
abcd, acbd, acdb , cabd etc..

On Aug 31, 5:23 pm, sukran dhawan <sukrandha...@gmail.com> wrote:
> what do u mean by interleaving ?
>
> On Wed, Aug 31, 2011 at 5:01 PM, Navneet Gupta <navneetn...@gmail.com>wrote:
>
>
>
>
>
>
>
> > The important thing to notice here is that relative order of
> > characters is important and hence you should not look for just count
> > char based approaches.
>
> > On Wed, Aug 31, 2011 at 11:20 AM, Navneet Gupta <navneetn...@gmail.com>
> > wrote:
> > > Given two strings S1 and S2, Find whether another string S3 can formed
> > > by interleaving S1 and S2. Only constant space.
>
> > > --
> > > Regards,
> > > Navneet
>
> > --
> > Regards,
> > Navneet
>
> > --
> > 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.

-- 
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.

Reply via email to