Uber Interview Question

Some question concerning multidimensional array