Pregunta de entrevista de Datadog

Leetcode-like exercise comparing two strings.