HP Inc. Interview Question

What parameters affect doping in thin films?