Amazon Interview Question

Statistics related, python, SQL