Pregunta de entrevista de Corvus Energy

Leetcode easy question in Python and also reading/explaining YAML scripts