QuantZig interview question

Real time business problem