Aspect Capital Interview Question

Linear regression maths problem and coding problem