MathWorks interview question

restaurant reservation design