Compute profit and decompose Groupon impact | Capital One Interview Question