Of the following given options, which one of the following is a correct option that provides an optimal solution for 4-queens problem?
(a) (3,1,4,2)
(b) (2,3,1,4)
(c) (4,3,2,1)
(d) (4,2,3,1)
I got this question in quiz.
The above asked question is from Backtracking in chapter Backtracking of Data Structures & Algorithms II