Andesa Services interview question

What is a singleton pattern and why would you use it.