Pregunta de entrevista de Infosys

OSI model, Asked to write algorithm of a problem.