Frage im Vorstellungsgespräch bei Chewy

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

Antwort im Vorstellungsgespräch

Anonym

17. Feb. 2023

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