Search_2D_Matrix

the trick is consider 2D matrix as a 1D array divided into groups.

row = index / # of columns;
col  = index % # of columns;