Please post them, not the answers just the questions.
Sudoku Solver: Given a text file with the format
- 5 3 - - 7 - - - -
-
6 - - 1 9 5 - - -
-
- 9 8 - - - - 6 -
-
8 - - - 6 - - - 3
-
4 - - 8 - 3 - - 1
-
7 - - - 2 - - - 6
-
- 6 - - - - 2 8 -
-
- - - 4 1 9 - - 5
-
- - - - 8 - - 7 9
Create a Sudoku solver to solve this problem. Each row, column, and 3x3 block section should contain the numbers 1 through 9. However, each row, column, and 3x3 block cannot have repetitions of the same number.
For more information (and real solution to the puzzle), look at
Sudoku information
ps. If the program isn't coded efficiently, some puzzles can take hours to solve. Plus there are different algorithms to solve them too (to increase efficiency).
Queens Problem:
The eight queens puzzle is the problem of putting eight chess queens on an 8×8 chessboard such that none of them is able to capture any other using the standard chess queen's moves. The colour of the queens is meaningless in this puzzle. The queens must be placed in such a way that no two queens would be able to attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal.
Make a program that takes a number n and solves the queens problem for n queens for a board n x n size.