1.

Backtracking algorithm is implemented by constructing a tree of choices called as?(a) State-space tree(b) State-chart tree(c) Node tree(d) Backtracking treeThis question was posed to me by my school principal while I was bunking the class.Question is from Backtracking in chapter Backtracking of Data Structures & Algorithms II

Answer»

Right option is (a) State-space TREE

For explanation: BACKTRACKING problem is solved by CONSTRUCTING a tree of choices called as the state-space tree. Its ROOT represents an initial state before the search for a SOLUTION begins.



Discussion

No Comment Found

Related InterviewSolutions