MocDoc Interview Question

First round:three coding questions bassed on arrays, recursion, matrix.