Pergunta de entrevista da empresa BlackRock

what's singleton pattern and why do we use it?