https://online.codingblocks.com/app/player/11915/content/54857/5063/code-challenge
https://ide.geeksforgeeks.org/ShM6V1IddJ
why is segmentation fault coming in my code
Matrix search program
hello @anitagupta1411
segmentation occurs mainly due to invalid access so probably u r accessing some invalid indices.
try adding some bases case in ur bsearch function.
there is O(n+m ) solution available for this problem , so read about that
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.