searching an element in a sorted matrix n*n - - columns ONLY

Hey I'm getting in trouble looking for a value in a sorted array - columns ONLY. What's important is to have the method most effective.
Thanks

    {15,  5,  6,  20,  21},
    {25, 21, 22, 30, 23},
    {30, 32, 31, 35, 34},
    {35, 35, 37, 39, 45},
    {50, 46, 51, 55, 65},
Comments (0)