Prodapt Solutions interview question

Singleton arr program with instance