A 2D matrix is given which is sorted row-wise and column-wise in ascending order. Search a given element in minimum possible time.
like matrix is : 1 2 3 4 6 9 12 15 7 13 16 19 20 21 22 26 and you have to search for 7. Please don't provide codes, algorithm or pseudo code will be really great. -- Thanks & Regards, Gaurav Gupta "Quality is never an accident. It is always result of intelligent effort" - John Ruskin -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
