I guess it is famous "Younge Tableau" Problem of tableau MxN and searching
can be done in O(M+N).
I doubt the problem can be solved in O(lgn) if no space constraint and no
pre-processing constraint present.

On Thu, Aug 20, 2009 at 9:42 PM, Anil C R <[email protected]> wrote:

> A more general problem is discussed in "Introduction to Algorithms" by
> Cormen et al
> problem 6-3, although the running time is O(n)...
> nagendra kumar wrote:
> > How can we find an element in the matrix [n*n] which is sorted row
> > wise and column wise in O(log n).
> >
> > >
> >
> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to