1.

What is the domination number for 8-queen’s problem?(a) 8(b) 7(c) 6(d) 5The question was posed to me in an international level competition.This intriguing question originated from Backtracking topic in chapter Backtracking of Data Structures & Algorithms II

Answer»

The correct option is (d) 5

Easiest EXPLANATION - The minimum number of QUEENS NEEDED to occupy EVERY square in n-queens PROBLEM is called domination number. While n=8, the domination number is 5.



Discussion

No Comment Found

Related InterviewSolutions