Quantify improvement and compute required sample size | Amazon Interview Question