Ebix interview question

singleton design pattern