Question d’entretien chez Datadog

Implement an algorithm that computes results for a simplified regex expression.