How does a market economy resolve the problem of for whom to produce?
In a market economy, prices of commodities in the market are affected by the forces of demand and supply in the market that generates open competition in the market which leads distribution of goods and services according to the purchasing power of an individual that resolves the problem of "for whom to produce".