Why does L1 regularization produce sparse solutions with exact zeros while L2 does not?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why an L1 penalty drives some model coefficients to exactly zero while an L2 penalty only shrinks them. Tests the subgradient argument, the one-coordinate closed-form solutions, the constraint-region geometry, and what each penalty means for feature selection.