Calculate A/B sample size, CI, decision rules | Amazon Interview Question