MathWorks Interview Question

Graph implementation.