Pergunta de entrevista da empresa LinkedIn

Write an algorithm that returns T or F in finding a substring in a string