MathWorks Interview Question

multi tasking situation