Pregunta de entrevista de Chase

coding interview question and design interview question