IMC Trading interview question

Standard leetcode style Questions and maths/probability.