hello everyone i am getting wrong answer for this problem i have tried so many times to figure out but failed to do so.Can anyone help me link to my solution
Once you have found that one of the strings is a substring of the current string you must break out of the loop.If many strings are the substrings of the current string your solution would print “Good” a multiple number of times which is what is making your solution wrong.