Code not giving correct output
@namangarg2000
hello Naman,
handle corner cases in your code.
i.e when li=0 then li-1 will be -1 or when lj==0 then lj-1 will be -1.
so handle these cases separately
@namangarg2000
hello Naman,
handle corner cases in your code.
i.e when li=0 then li-1 will be -1 or when lj==0 then lj-1 will be -1.
so handle these cases separately