DSA-Bootcamp-Java icon indicating copy to clipboard operation
DSA-Bootcamp-Java copied to clipboard

sudoku solver rows isSafe updated

Open itzharshit99 opened this issue 9 months ago • 0 comments

description : In isSafe method below loop is intended to check if the number we are trying to insert is already available in the row or not. But below loop is iterating over columns and not on rows so it is checking if the number already exists in column or not instead of row.

for this i have updated for both rows as well as columns.

itzharshit99 avatar Jan 10 '25 12:01 itzharshit99