G-Research interview question

Some standard statistic definitions and coding