American Express Interview Question

regression based numerical