sudoku Questions

3

Solved

the reason why I am creating this new thread instead of just reading the answers to this particular question that have been given before is that I feel I just don't fully understand the whole idea ...
Indiscrimination asked 7/2, 2016 at 14:58

2

Solved

I'm conceptualizing a solver for a variant of sudoku called multi-sudoku, where multiple boards overlap like so: If I understand the game correctly, you must solve each grid in such a way that t...

4

Solved

Yes, I know this is nothing new and there are many questions already out there (it even has its own tag), but I'd like to create a Sudoku Solver in Java solely for the purpose of training myself to...
Barograph asked 27/7, 2010 at 9:50

4

Is there any algorithm that solves ANY traditional sudoku puzzle, WITHOUT guessing? Here Guessing means trying an candidate and see how far it goes, if a contradiction is found with the guess, bac...
Aureomycin asked 20/8, 2011 at 23:56

11

Solved

You're given a solution to a Sudoku puzzle. Write the code to check if it's a valid solution. Your function signature should be: boolean isValid(int starti, int startj, int endi, int endj) ...
Basilio asked 30/3, 2011 at 9:42

4

So, I've done a fair bit of reading into generation of a Sudoku puzzle. From what I can tell, the standard way to have a Sudoku puzzle of a desired difficulty is to generate a puzzle, and then grad...
Beaming asked 7/5, 2012 at 20:33

2

Solved

I went through the manual and documentation but still don't understand. I'm trying to implement a sudoku solution where after writing out all the other rules of the game, I've added label(Board) ac...
Shrivel asked 30/11, 2014 at 17:48

2

Solved

I am trying to build a 4 x 4 sudoku solver by using the genetic algorithm. I have some issues with values converging to local minima. I am using a ranked approach and removing the bottom two ranked...
Crinkleroot asked 18/11, 2014 at 3:35

2

Solved

I'm struggling with a backtracking algorithm to determine wether a Sudoku has a unique solution or if it has multiple Solutions. Here's the backtracking code i use: static boolean solve(int i, in...
Scirrhous asked 21/6, 2014 at 15:42

2

I'm look for the "how do you find it" because I have no idea how to approach finding the algorithm complexity of my program. I wrote a sudoku solver using java, without efficiency in mind (I wante...
Jolynjolynn asked 10/3, 2013 at 20:44

7

Is there an algorithm or way I can get initial state sudoku puzzles for a sudoku game. Preferably with the ability to have different levels of difficulty?
Smallsword asked 10/7, 2010 at 7:5

2

Solved

How many possible unique ways are there to generate a Sudoku Puzzle?? I can think of only two possible ways 1) Take a solved Sudoku puzzle and shuffle the rows and columns 2) Generate a rand...
Resht asked 12/12, 2012 at 3:14

2

I'm looking to implement a very simple algorithm that uses brute-force back-tracking to solve Sudoku grids. The problem I'm facing is that in my implementation I included two instance variables for...
Counterman asked 14/11, 2013 at 5:5

4

Solved

I made an algorithm to generate sudokus, but it was terribly inefficient. Each puzzle took minutes to generate. So now I am trying to write it again in optimal way. But I am experiencing some...
Inapproachable asked 15/2, 2012 at 14:50

4

Solved

In my last question seen here: Sudoku - Region testing I asked how to check the 3x3 regions and someone was able to give me a satisfactory answer (although it involved a LOT of tinkering to get it ...
Crier asked 6/8, 2011 at 0:17

3

Solved

I am doing this assignment, make a program that solves sudoku. I have a panel with a grid of SudokuTextBox extends JFormattedTextField. I have a MaskFormatter so that it only accepts one integer pe...
Stichomythia asked 10/11, 2010 at 19:36

6

Solved

I'm trying to code an algorithm that creates a legal Sudoku board in either Java or Javascript. Neither work, and I'm not entirely sure why. Essentially, the problem in both programs is that eithe...
Headspring asked 31/3, 2012 at 19:55

2

I've been working on a Sudoku Solver, my current solver uses the backtracking algorithm but it still takes too long. I'm hoping to get it down to less than a second for most cases. As such, I've d...
Fluffy asked 5/10, 2009 at 5:3

1

I've a problem with my sudoku solving method. The program works like this; the board is empty when started, the users adds a couple of numbers to the board and then by hitting a Solve-button the pr...
Schlicher asked 21/3, 2013 at 16:16

2

Solved

A Sudoku puzzle is minimal (also called irreducible) if it has a unique solution, but removing any digit would yield a puzzle with multiple solutions. In other words, every digit is necessary to de...
Norvil asked 3/1, 2013 at 21:43

6

Solved

First of all, I'll state that this is a university assignment so I'm not asking for someone to write the code for me I just need to be pointed in the right direction. :) Ok, so I need to write an ...
Recondite asked 8/10, 2011 at 9:30

2

I've taken on the task of creating a sudoku solver using a genetic algorithm. Initialization: Store the given values in each chromosome, and then randomly generate values such that each row is a v...
Fanjet asked 11/11, 2012 at 1:31

6

Solved

I am building a Sudoku game for fun, written in Javascript. Everything works fine, board is generated completely with a single solution each time. My only problem is, and this is what's keeping me...
Unprofitable asked 25/5, 2011 at 16:14

4

So I have this university assignment to solve Sudoku... I read about Algorithm X and Dancing algorithm, but they didn't help me. I need to make it with backtracking. I hard-coded some of the index...
Romberg asked 14/11, 2012 at 10:52

2

Solved

I'm creating a sudoku generator, using a 'brute-force' randomity approach. I have been able to check the x / y axis for duplicate numbers just fine using the code: for(l=0; l<9; l++){//Makes al...
Herson asked 23/7, 2011 at 11:54

© 2022 - 2024 — McMap. All rights reserved.