Pergunta de entrevista da empresa Chewy

First was implement synchronized singleton in Java. Second was Top K products.

Resposta da entrevista

Sigiloso

17 de fev. de 2023

You had to remember to use the synchronized block for the first. Then use a HashMap and a PriorityQueue for the second