retagged by
1,890 views

1 Answer

1 votes
1 votes

Answer (D)We can solve 4-queens problem through backtracking by taking it as a bounding function .in use the criterion that if (x1, x2, ……., xi) is a path to a current E-node, then all the children nodes with parent-child labelings x (i+1) are such that (x1, x2, x3, ….., x(i+1)) represents a chessboard configuration in which no queens are attacking

In 4- queens problem, we have 4 queens to be placed on a 4*4 chessboard, satisfying the constraint that no two queens should be in the same row, same column, or in same diagonal.

The solution space according to the external constraints consists of 4 to the power 4, 4-tuples i.e., Si = {1, 2, 3, 4} and 1<= I <=4, whereas according to the internal constraints they consist of 4! solutions i.e., permutation of 4.

Answer:

Related questions

4.5k
views
4 answers
1 votes
admin asked Mar 31, 2020
4,460 views
Selection sort, quick sort is a stable sorting methodTrue,TrueFalse,FalseTrue,FalseFalse,True
4.0k
views
2 answers
3 votes
admin asked Mar 31, 2020
3,990 views
Which of the following sorting procedures is the slowest?Quick SortMerge SortShell SortBubble Sort
1.9k
views
2 answers
5 votes
admin asked Mar 31, 2020
1,851 views
Complexity of Kruskal's algorithm for finding minimum spanning tree of an undirected graph containing $n$ vertices and $m$ edges if the edges are sorted is:$O(mn)$$O(m)$$...
3.3k
views
4 answers
1 votes
admin asked Mar 31, 2020
3,287 views
Find the odd one outMerge SortTVSP ProblemKnapsack ProblemOBST Problem