...
Question 1185 – Nielit Scientist-B CS 22-07-2017
December 3, 2023
Question 1178 – Nielit Scientist-B CS 22-07-2017
December 3, 2023
Question 1185 – Nielit Scientist-B CS 22-07-2017
December 3, 2023
Question 1178 – Nielit Scientist-B CS 22-07-2017
December 3, 2023

Question 957 – Nielit Scientist-B IT 4-12-2016

What is the type of the algorithm used in solving the 4 Queens problem?

Correct Answer: D

Question 7 Explanation: 
N-Queen problem:​ an arrangement of N queens on a chess board, such that no queen can attack any other queens on the board.The chess queens can attack in any direction as horizontal, vertical, horizontal and diagonal way. A binary matrix is used to display the
positions of N Queens, where no queens can attack other queens.

Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate (“backtracks”) as soon as
it determines that the candidate cannot possibly be completed to a valid solution.
A
Greedy
B
Branch and bound
C
Dynamic Programming
D
Backtracking
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!