Pregunta de entrevista de Synopsys

Network related coding question in my coding interview