Sears interview question

Framework explanation.