Nasdaq Interview Question

Singleton different types of implement