Auto commit
This commit is contained in:
parent
e229bbbb5d
commit
ad6ebb9fa2
@ -42,6 +42,9 @@ int isSubstring(char *str1, char *str2)
|
|||||||
i++;
|
i++;
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
|
if(str1[i] == str2[0]){
|
||||||
|
i--;
|
||||||
|
}
|
||||||
if(str2[j] == '\0'){
|
if(str2[j] == '\0'){
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user