Toast Inc interview question

Threading concurrency restaurant ordering system