G-Research interview question

Probability and statistics questions, programming problem