Pregunta de entrevista de Rev

Write an algorithm that determines if a string is a haiku