Agilent Technologies Interview Question

Code and domain knowledge required