Pregunta de entrevista de HubSpot

Solve a Leetcode problem from the first 10 easy problems.