Solve Sudoku using Bit Manipulation | Sudoku Solver in JAVA

  Рет қаралды 6,927

Pepcoding

Pepcoding

Күн бұрын

Пікірлер: 11
@aman6561
@aman6561 4 жыл бұрын
almost code krlia tha bs rows,cols and grid ki bits upate ni kri thi thank you so much sr for providing content.
@Pepcoding
@Pepcoding 4 жыл бұрын
Wow, I feel great ki kuch bache poora fayda uttha paa rhe hain
@aman6561
@aman6561 4 жыл бұрын
@@Pepcoding Sir aaj jo aap ne Zed Shaw ki books btai na unki mne learn python the hard way pdhi thi first year me.
@AmanKumar-kz1rn
@AmanKumar-kz1rn 4 жыл бұрын
sir pura question khud sey kar diya khushi resist nahi hui toh comment bhi kardiya sahi bolte they sir aap fayda toh hota hai, agar akk bar question pehle kiya ho, yeh recursion mai kiya tha toh insight thi ki kaise karna hai....
@Pepcoding
@Pepcoding 4 жыл бұрын
Padhte rahie beta
@abhaygupta9245
@abhaygupta9245 3 жыл бұрын
Sir Toggle operation ke baare me explain krdo smjh nhi aaya aap saari bits ko agar toggle kr rhe ho to jo number already row col aur grids me ha wo toh off ho jaayegi fir toh galat ho jaayega. Toggle operation ~ sign se hota ha aap ^(XOR ) use kr rhe ho please explain
@abhaygupta9245
@abhaygupta9245 3 жыл бұрын
I understood on my own XOR operation helps you switch off specific bits in a number. You can use OR operation for setting a specific bit but you cannot unset it back without the help of XOR. That's why we used XOR there. Thanks Sir for the videos and resources
@theuntoldtree
@theuntoldtree 3 жыл бұрын
why the base case is not (i==9 && j==9) ????
@Pepcoding
@Pepcoding 3 жыл бұрын
If you also want doubt support, you can consume same content on nados.pepcoding.com and a social media feed where your doubts will be taken care of. It is entirely free of charge.
@namanjindal2044
@namanjindal2044 3 жыл бұрын
Sir what if we will not backtrack the cell in this question.
@ashwinnema06
@ashwinnema06 2 жыл бұрын
You will not get right answer as for loop moves ahead that value if not replaced with its original value the calculation will come wrong
Python Sudoku Solver - Computerphile
10:53
Computerphile
Рет қаралды 1,2 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 41 МЛН
How to Solve Sudoku using Backtracking | Recursion
31:18
Pepcoding
Рет қаралды 84 М.
Sudoku Solver Project C++ | Real Life Project | C++ | Techies Code
41:41
How many people are in the changing room? #devil #lilith #funny #shorts
00:39