Chai Point interview question

Moderate Design pattern Question Asked