Pregunta de entrevista de Cisco

Mostly Leetcode easy, few mediums