Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is Imperative a Class is used. You need to implement a computer program in C++ to solve the well-known Sudoku problem. The Sudoku grid

image text in transcribed

It is Imperative a Class is used.

You need to implement a computer program in C++ to solve the well-known Sudoku problem. The Sudoku grid will be a 9 times 9 grid consisting of nine rows, nine columns, and nine 3 times 3 smaller grids as shown in Figure 1(a). In the nine 3 times 3 smaller grids are separated by darker horizontal and vertical lines. The first 3 times 3 smaller grid is in rows 1 to 3 and columns 1 to 3, the second 3 times 3 smaller grid is in rows 1 to 3 and columns 4 to 6, and so on. The objective is to fill the entire grid with numbers from 1 to 9 such that each number appears exactly once in each row, each column, and each 3 times 3smaller grid. For example, the solution to the Sudoku problem in Figure 1(a) is shown in c(c). Use the class Sudoku (that was discussed in the class session) to implement the Sudoku problem in ADT. Write the of al methods. White a program to test your implementation. You will need to submit a report that includes the following sections: Discussion of the used data structures. Discussion of the used algorithm. Testing results with screenshots. Screenshots of the results for the three problems set shown on page 2. Discussion of the performance of the algorithm based on the results. Discussion of weaknesses of the used algorithm and any possible enhancements. A sample input and output of the program will be as shown below (an empty grid is represented by 0)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3-13 Analyze Amazon.com and Walmart using the

Answered: 1 week ago

Question

What is liquidation ?

Answered: 1 week ago

Question

Explain the different types of Mergers.

Answered: 1 week ago

Question

What is dividend payout ratio ?

Answered: 1 week ago

Question

Are these written ground rules?

Answered: 1 week ago

Question

Have ground rules been established for the team?

Answered: 1 week ago

Question

a. How are members selected to join the team?

Answered: 1 week ago