Is this possible to draw the recurrence tree

for sudo-solver problem

@Vikaspal yes you can draw but that will be very large so think in a way that recursion will do it work you have to just focus on your calculation and some backtracking stuff.

can you explain the ways for the subgrid calculation formula 10:19 at the starting

@Vikaspal hey I dont understand your doubt can you eloborate which function you are talking about and what does it do in your question.

@rishabhmahajan546 when the prateek bhaiya is expallining the subgrid formula. 9 length ke grid me 3 subgrid hai …

@Vikaspal hey that logic is like in each subgrid of 3*3 there should be no repitition so in that we are checking evry subgrid of size 3 and checking for repitition.

checking for repetition means? can u please explain without input so i understand it better to solve other problems and build the logic

@Vikaspal hey you are given a partially filled 9×9 2D array ‘grid[9][9]’, the goal is to assign digits (from 1 to 9) to the empty cells so that every row, column, and subgrid of size 3×3 contains exactly one instance of the digits from 1 to 9. So no is not repeated in 3*3 subgrid for that we are using that logic.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.