MathWorks Interview Question

mostly very easy. Data structure: something like how to use stack to impletment queue. What is mutex.