G-Research Interview Question

Probability and statistics questions, programming problem