Bloomberg Interview Question

That would be fix the overflow issue in the last question