Accenture interview question

Find if a substring is present inside a given string.