Is it necessary that the alphabetical order of 2nd string should be maintain ?,like in answer if we delete the unecessary character which is not in the string 2 we will get the exact same string as string 2…?
$String Window problem
hello @msid78641
no order should not be same,
the only constraint that u should take care is -> substring should contain all the characters of 2nd string.