Java Find Sudoku Algorithm Solutions in Java - n Size

  • Thread starter Thread starter you878
  • Start date Start date
  • Tags Tags
    Algorithm Sudoku
Click For Summary
To calculate the total number of possible Sudoku solutions for a board of size n, one can utilize combinatorial mathematics and backtracking algorithms. The discussion highlights the importance of understanding the constraints of Sudoku, such as the unique placement of numbers in rows, columns, and grids. While the focus is on counting possibilities rather than solving the puzzle, resources like the Wikipedia page on the mathematics of Sudoku provide valuable insights into the underlying principles. The conversation emphasizes the need for an efficient algorithm that can handle varying board sizes, not just the standard 9x9 configuration.
you878
Messages
9
Reaction score
0
I'm writing a program in java and I need to find an algorithm to calculate all possible sudoku solutions for a board of size n. I don't need to know how to solve it, just how many possibilities there are.
 
Technology news on Phys.org
Why don't you address the 9x9 playing board?
 
you878 said:
I'm writing a program in java and I need to find an algorithm to calculate all possible sudoku solutions for a board of size n. I don't need to know how to solve it, just how many possibilities there are.

Are you looking for something like this?
http://en.wikipedia.org/wiki/Mathematics_of_Sudoku"
 
Last edited by a moderator:
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

Replies
86
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
3K
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K