recongamer/Hacktoberfest2021

Giving wrong answer for Searching in a Sorted 2D Array using Binary Search

Closed this issue · 3 comments

I found that the binary search algorithm written for 2D array is not giving the correct answer. The algorithm is working for 1D array but not for 2D array.
I can help and contribute for the algorithm to search in 2D array, which will give correct answer with minimum time complexity.

I want to work on this issue @recongamer . Please assign this to me.

I deleted that code that code was indeed wrong , i didn't had a proper review at the time of merging . Btw thanks for pointing it out :)

I could have contributed for that algorithm. Please assign this task to me @recongamer .
I will write proper code for searching in 2D array.