eBay Interview Question

Find the minimum of layer in a matrix.