Amgen Interview Question

it was purely coding question