Pregunta de entrevista de Amgen

it was purely coding question