Pergunta de entrevista da empresa Agilent Technologies

althrithm is hard to check