Compare average profit across mix scenarios
Capital OneData Scientist · Technical ScreenLast updated
This question evaluates understanding of expected value, weighted averages, and profit-margin analysis within the Statistics & Math domain for a Data Scientist role. It is commonly asked to probe quantitative reasoning about pricing and cost trade-offs, and it tests practical application of arithmetic and scenario-based profit modeling rather than abstract theoretical concepts.
You sell only Regular burgers in Scenario A. In Scenario B you sell both Regular and Vegan with a sold ratio Vegan:Regular = 2:3 and total units sold unchanged. Regular: price $4, unit cost $1. Vegan: price $4, unit cost $2. Compute: (1) the average profit per burger in A and in B, (2) the difference (B − A) in $/burger, and (3) the total profit change for 1,000,000 total burgers.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.