Question d’entretien chez Rev

Write an algorithm that determines if a string is a haiku