Pratham interview question

Reasoning and logic for the case analysis.