Open main menu

CDOT Wiki β

Changes

Algo holics

1 byte removed, 04:15, 22 February 2019
Assignment 1
The original source code can be found at [https://github.com/shafeeq/Sudoku Link]
<h5>LOGICLogic</h5>
In this program the Bruteforce algorithm first put 1 in the first cell. Then it moves to the second cell and put 1 in there and check if it satisfies all the rules and conditions. If it don't, then the algorithm will increment it's value to 2 and then check again. The value can change from 0-9 to find the correct value for a cell. If none of the value from the range of 0-9 satisfies the cell, then the program will iterate back and change the value of the first cell to 2 and then try the whole process again. In this way it will solve the puzzle.
 
<h5>Compiling the program</h5>
85
edits