Pregunta de entrevista de 6sense

Coding questions of leetcode medium difficulty