First was implement synchronized singleton in Java. Second was Top K products.
Anonymous
You had to remember to use the synchronized block for the first. Then use a HashMap and a PriorityQueue for the second
Check out your Company Bowl for anonymous work chats.