MathCo Interview Question

What would I do differently?