Pergunta de entrevista da empresa PayPal

What is a singleton, 2 leetcode mediums