Two Sigma Interview Question

Easy algo/math questions