Amazon Interview Question

Classical prediction problem.