Skip to content

Instantly share code, notes, and snippets.

View TitusRobyK's full-sized avatar
🏠
Working from home

Titus Roby K TitusRobyK

🏠
Working from home
View GitHub Profile
@TitusRobyK
TitusRobyK / SudokuSolver.java
Created February 3, 2022 09:38
Sudoku Solver
public class SudokuSolver {
private static final int GRID_SIZE = 9;
private static final int BOX_SIZE = 3;
public static void main(String[] args) {
int[][] board = {
{ 7, 0, 2, 0, 5, 0, 6, 0, 0 },
{ 0, 0, 0, 0, 0, 3, 0, 0, 0 },
{ 1, 0, 0, 0, 0, 9, 5, 0, 0 },