Pergunta de entrevista da empresa Infosys

OSI model, Asked to write algorithm of a problem.