How it's output will be 1


#1

A : [ "..5.....6", "....14...", ".........", ".....92..", "5....2...", ".......3.", "...54....", "3.....42.", "...27.6.." ]
how is this valid.??..bcz in string 3 and string 4 ,there are two 2’s which is making it invalid.


#2

Look at the picture ,it is forming the sudoku perfectly fine


#3

Double check your variables inside all for loops