Pregunta de entrevista de Cisco

Data structures and algorithms based Leetcode questions, medium difficulty.