Tle in my submission to problem of matrix search

pls tell why i getting tle , also i solved this problem in o(n) complexity.

please use a break statement when you found the element (after printing 1).

1 Like

hey looks like you get it,can you please mark this doubt as resolved and give this discussion rating ,thnanxx.

1 Like