Ahh...
str is a pointer which doesn't point to any allocated memory. It's point to
a constant memory which is only READABLE in your program.
main()
{
char *str =Algogeeks google;
char *str1 = GROUP;
printf(str is %s,str);
printf(str is %s,str1);
int len =
@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
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