|
|
вернуться в форумIs empty string is a substring of the whole string? Is whole string is a substring of the whole string? You can see example: "aaba": a b aa ab ba aab aba aaba Totaly 8 substrings. So, empty string is not substring. And where is "aaa"? substring != subsequence Where is baa? Where is baa? "baa" is not subsequnce of "aaba" |
|
|