MathWorks Interview Question

Use of dictionaries in python