Domanda di colloquio di Appian

Campus interview: Find the needle (substring) in the haystack (string).