Code Zone
Friday, August 5, 2016
Convert matrix to 1d array
A n*n matrix is given which is containing elements in which each row alone is sorted. column is not sorted. We have to convert it into a single dimensional array which will hold all the elements of the array in a sorted manner.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment