- In this method for solving the sudoku puzzle, first, we assign the size of the 2D matrix to a variable M (M*M).
- Then we assign the utility function (puzzle) to print the grid.
- Later it will assign num to the row and col.
- If we find the same num in the same row or same column or in the specific 3*3 matrix, ‘false’ will be returned.
- Then we will check if we have reached the 8th row and 9th column and return true for stopping further backtracking.
- Next, we will check if the column value becomes 9 then we move to the next row and column.
- Further now we see if the current position of the grid has a value greater than 0, then we iterate for the next column.
- After checking if it is a safe place, we move to the next column and then assign the num in the current (row, col) position of the grid. Later we check for the next possibility with the next column.
- As our assumption was wrong, we discard the assigned num and then we go for the next assumption with a different num value
19ai405projexp's Introduction
19ai405projexp's People
Forkers
premkumarg3 priyankaannadurai shankarsaradha niraunjana sreevalsan-v jayamani25 mamthaiyappaprabu shalinikannan23 r-guruprasad ganesh23013987 sivabalan28 kamal-xo yogabharathi3 darkwebnew kspandian7 22008686 dhanush-ai-ds daniel-christal pavithraramasaamy jaiganesh235 harinimuthu17 imthiyas19 23002776 haridharshini21500176 niroshassithanathan anandarakshan subikshan2006 22009011 shara56 lokeshrahulv sujithrabkn j-nisha adithya-siddam kotisaisankar kameshlevi harini1006 nithish74 mohan8900 pranav-aj aravindsamy04 23006111 pravinrajj yoheshkumar gpavana munimadhuriganji ajayaswin-m divyakumars lingeswaran04 kishorerz jawaharraj27 gitpreethihub priyadharshini-er sreekarsh vikamuhan-reddy vikashsenthil21 santhoshuthirakumar pradeeppachiyappan sasidevivenaram keerthanasampathkumar sandhiyar1 akash7812 gowrisankarponnusamy ssnithyaasri naveenaakumarasamy jhansi21005096 berjinshabeckh kanishka2305 loknaath-sec evangelin-ruth jayanthyadav123 nkishore2210 sabari005 jayakrishnan22003251 dhanudhanaraj iyyanar22009120 sharon120 danielmanoj meyyappan-t ashwinkumar-03 23007965 marelladharanesh gururamu08 kavinesh8476 deepak2200233 vignesh-777 jeswanth21001768 dharshini-ds logeshwari2004 hamza9559 abrinnisha6 kishore2o gokulvijayaramanuja saivishal1105 s-arvind01 migaleyy lokeshnarayanan gchethankumar naveen-m0804 dhinesh2301 sargurukumaresanRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.