Squarepoint Capital Interview Question

Standard leetcode and quant brainteasers