Pergunta de entrevista da empresa Adeptia

Number of times a substring is present in other string