Box Interview Question

1) Design an elevator system. 2) Find the concurrency bug is this given diagram