Click here to Skip to main content
15,921,113 members

Comments by Arya Singh 2021 (Top 12 by date)

Arya Singh 2021 17-Sep-22 3:34am View    
I think unlike standard sudoku problem where everytime we check for distinct element along rows and column, rows and column length remain constant but I think here it would be variable. That's trickest part . Is there any other to solve this problem?
Arya Singh 2021 17-Sep-22 3:31am View    
Is there any other idea I should go for? How would you have solve this problem. Any thought process?
Arya Singh 2021 17-Sep-22 3:29am View    
I don't know if that solves my problem because look at my isSafe function first two loop in first loop I'm trying to check for distinct element in top-left to bottom-right diagonal and in second loop I'm trying to check for distinct element in top-right to bottom-left.Isn't that correct if not where I'm missing something .Does diagonal length is variable unlike standard sudoku problem where everytime row and column length remain same. How does I resolve variable length diagonal problem.
Arya Singh 2021 16-Sep-22 10:02am View    
That's what I even did but doesn't work out . Have you seen my code and question cause I've clearly stated where I'm stuck. I tried to do same thing maybe if you look and can figure out where I made mistake it would be helpful.
Arya Singh 2021 16-Sep-22 9:55am View    
What I think so since there are diagonal constraint so not all diagonal will contain all number from 0-8