Toast Inc interview question

System design question for restaurant based use case