Pergunta de entrevista da empresa Phase2 Technology

Presented with some code and asked how it initially worked, then was asked to basically improve how it worked. The question involved multi-threading, how the code worked and how to make it so things executed in the desired order. It looked like they had several possible coding problems they could ask you, though. Nothing screamed LeetCode to me.