Describe how you plan to search for the sudoku solution

Assignment Help Data Structure & Algorithms
Reference no: EM131099741

• Specifically, your company has asked your team to design an app that will complete a Sudoku game, given any starting state of the game. See this Web sitefor the rules. https://www.sudoku.com/

State Space

• Describe how you plan to search for the Sudoku solution given a starting state.

• Clearly define your state space here: What does a vertex in your state traversal tree represent?

Traversal Time Complexity

• Assuming you were to naively traverse your state space, what is the upperbound time complexity (in terms of Big-O) of a brute force searching algorithm?

• Present this result in terms of n and p where nxn is the size of the Sudoku board and p is the number of possible numbers (1-9) permitted in a square.

Heuristic Search

• What type of heuristic search would you employ to search this state space in hopes to reduce the search time?

• Think about the problem and how you might search this state-space tree.

Pseudocode

• Create pseudocode that finds the solution to a Sudoku game using a brute force search or using your heuristic discussed above.

• To simplify this task, assume that you have standard data structures available to you, such as stacks and queues.

Reference no: EM131099741

Questions Cloud

Question regarding the male chromosome : A geneticist conducts her survey and calculates hat p = 0.512. Which of the following is the most correct interpretation of this statistic? a) There is a 51.2% chance that a randomly selected gamete cell will have the male chromosome.
Ece 472-561 robotics and vision : Devise a wire frame representation of a house. Specifically, the house is represented by 10 or more vertices in world coordinates. Simulate a camera and compute the pixel coordinates for each vertices. Draw the house using these pixel coordinates and..
If demand surges and pushes up the market price : If demand surges and pushes up the market price to $20, industry-wide output will rise IN THE SHORT RUN due to..
Formulate the null and alternate hypothesis : (1) In this exercise how would you formulate the null and alternate hypothesis? Is this a one-tailed test, or a two-tailed test? (2) Based on the output, can we conclude at the 5% level of significance that the machine used in shift 1 overcuts the ce..
Describe how you plan to search for the sudoku solution : Describe how you plan to search for the Sudoku solution given a starting state. Clearly define your state space here: What does a vertex in your state traversal tree represent?
Calculating the benefits and costs from the merger : Two Cournot duopolists produce in a market with demand P = 100 − Q. The marginal cost for firm 1 is constant and equals 10. The marginal cost for firm 2 is also constant and it equals 25. Given this information, would you recommend the merger? Explai..
Flagging my words against a french dictionary : Right in the middle of a Word 2007 document I am typing, Word started flagging my words against a French dictionary. Why? How can I turn this off? I've changed my default language to English (U.S.), but that applies to future documents. Thanks.
Equal access to coolness for all coalition : Assume that consumers are uniformly distributed along a one-mile stretch of beach. A number of ice cream vendors are pondering where to position their carts. If the price they are allowed to charge is fixed by the Equal Access to Coolness For All Coa..
Consider firm with the production function : Consider a firm with the production function, q = (K^(0.5) + L^(0.5))^2. In the short-run, the level of capital is fixed. Determine the equations for MPL and APL. Solve for the short-run cost function (i.e. total costs as a function of output) Solve ..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Design a flow chart to provide a visual representation

Design a flow chart to provide a visual representation of the interconnections between the histories of ECEC and how it has evolved to current pedagogy and practice

  Create an assignment on powerpoint presentation

consists of  (4) sections:- a written project plan, revised business requirements document, project plan PowerPoint presentation, and a finalized project plan.

  Create binary tree based on names

The Binary Tree is one of best ways to organize information when you require fast access. For this project, we will organize a list of names and perform many operations on those names.

  What do you mean by query evaluation plan what are its

question 1 what is a query evaluation plan? what are its advantages and disadvantages?question 2 discuss the different

  How this tree is represented as child/sibling implementation

how this tree is represented as child/sibling implementation?

  Implement a stack adt by writing a class

Instantiate the Stack class in the main function and provide a user loop and a menu so that all the Stack class member-functions, push, pop, etc., are available so that the user can thoroughly exercise the member-functions of the Stack class.

  Compares the number of comparisons used by various data

compares the number of comparisons used by various data structures for a single algorithm. the algorithm is the one

  Computing the total dollar sales

A corporation has a product line that includes five items that sell for $100, $75, $120, $150, and $35. There are four salespersons working for this corporation,

  Advanced systems analysis and design

Produce a system specification indicating functional and non-functional requirements - Generate suitable prioritised Use Cases for the system.

  A program that performs depth first search in a graph

a program that performs Depth First Search in a graph

  Using channel to implement the back up

Think about an organization, which has a rented communications channel in two buildings, building A and building B. They have a set of servers in building A,

  Explain the fifo structure of the queue

Explain the FIFO structure of the queue Explain how you would implement the queue data structure in its simplest form. Illustrate your answer fully with the necessary sample code

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd