Pregunta de entrevista de Everpure

binary tree and multithreading question