(3)
In which of following cases n-queen problem does not exist-
(a) n = 2andn = 4 (b) n = 4 and n = 6 (cn = 2andn = 3
(d) n = 4 and n = 8
Answers
Answered by
2
Answer:
a. n=2 and n=4
Explanation:
please follow me yarrr
Answered by
0
Answer:
The correct answer is option (c)
Explanation:
n-queen problem does not exist when n=2 and n=3.
n-queen is a very popular problem in programming where we have to place n number of queens on the chess board in a way so that no two queens attack on each other.
When n =1, the problem has a trivial solution, and for n =2 and n =3 no solution exists.
#SPJ3
Similar questions