Citadel Securities interview question

Algorithms, modified binary tree, deadlock