Pergunta de entrevista da empresa Wiley

Write a code to find counts of triplets in a sentence