Question d’entretien chez Datadog

Two leetcode medium questions for the first round.