Pregunta de entrevista de Viasat

Coding round, followed with technical discussions