Add description and solution in C++ of search a 2d matrix problem