By Which algorithm, the 8 queens problem is solved?



By Which algorithm, the 8 queens problem is solved?..

Answer / Sanjeev Kaur

The N-Queens problem can be solved using backtracking algorithms. For the specific case of placing 8 queens on a chessboard without attacking each other, various backtracking solutions exist such as recursive backtracking, iterative deepening depth-first search (IDDFS), and breadth-first search (BFS).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are linked lists most commonly used for?

1 Answers  


In rdbms, explain what is the efficient data structure used in the internal storage representation?

1 Answers  


What do you mean by collision in hashing?

1 Answers  


What is pivot in quicksort?

1 Answers  


Why is data structure important?

1 Answers  


What is the maximum size of array?

1 Answers  


What is worst case complexity algorithm?

1 Answers  


When would you use a tuple?

1 Answers  


What is data structure and why it is important?

1 Answers  


Can you store different types in an array?

1 Answers  


Can binary tree have 1 child?

1 Answers  


What is the difference between sorting and classifying?

1 Answers  


Categories