Frage im Vorstellungsgespräch bei Appian

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