Sudoku Solving Algorithm with Backtracking | A Helpful Line-by-Line Code Tutorial | Part 1

preview_player
Показать описание

The Code can be found at:

I do not claim to own any of the code explained in the video unless I explicitly mention that I own the code. It is usually inspired by various websites and I have tried to make some of my own changes for the sake of this tutorial.

Send me an email or comment below if you want to be credited.
Рекомендации по теме
Комментарии
Автор

There is a cleaner way to find values of k & l at 8:17
k = ( i / 3 ) * 3
l = ( j / 3 ) * 3
You might get extra points for clever use of code here...

alapanoski
Автор

This video is amazing. I translated it to Ruby and broke everything down and got it to work. Thank you

johncibula
Автор

your code and explanation is very clear and concise, i was able to translate it to C# and it worked. Thumbs up!

GoatFX
Автор

Please could you explain more about the "k, l" part? I am not sure how you do the calculations there.

zhengyuwang
Автор

Ya know, the title should include the language used.

saganandroid
Автор

i was wondering if this is for a 2D array sudoku or a 3D array sudoku

law
Автор

you cold use range(9), and python'd do 0 to 9. Thanks for the video man!!

ThiagoEscarrone
Автор

how if maze solfing code in algorithm backtracking

anantamvan
Автор

The funny thing is that with 30 line of code...and 1 file .c you solve this problem...i tooks me one week to solve like that but there is a simple way man

andreamassaro
Автор

Change SudokuBoard[5][5] = 3 and BOOM there goes your program. It'll never be solved.

anuragsharma
Автор

Dude. Neither your title nor your writeup state what language will be used. This. This is why people think millennials are airheads.

saganandroid
Автор

Waste program. I have closely analysed the source code. I bet it wont work. I have developed a better solver in java.

ayushshaw