Here is my code it is not working well. What is the issue ?
Doubt in my code
hello @yashsharma4304
here when x1=0 or y1=0 then in that case we cannot access x1-1 and y1-1 becuase negative index access will give segmentation fault/or garbage value.
so u need to handle those cases seprately.
refer this->
1 Like
