please show the working
http://stackoverflow.com/questions/10589975/find-number-in-sorted-matrix-rows-n-columns-in-olog-n
See this. It may help You.
64.3k questions
77.9k answers
244k comments
80.0k users