Google Interview Question

Get the smallest number from the matrix