##
Print all elements in sorted order from row and column wise sorted matrix
October 22, 2014

Given an n x n matrix, where every row and column is sorted in non-decreasing order. Print all elements of matrix in sorted order.