Pergunta de entrevista da empresa Sovrn

Code singleton class and it should be thread safe.