Blume Global interview question

deadlock