Sudoku - what's going wrong

this is only solving the first column and not further part. why it is so?

hi @paidaarpit1505_f9664148aad841e0

if(j>=n){
		return sudokusolver(mat, i+1, 0, n); // pass j as 0 not j
	}