Pregunta de entrevista de Helix

leetcode easy for onsite, leetcode easy + medium for the online challenge