Question: You are given binary tree data structure ( binary tree means each tree node have at most 2 child branches ( left & right )
You are given binary tree data structure binary tree means each tree node have at most child branches left & right or it can have zero branches which means we are dealing with tree leaf
Your goal is to find route to specific node.
If you know that your tree is potentially infinite which types of search you can choose? Why?
a DepthFirst
b BreadthFirst
c DepthFirst with Depth Limit
d Iterative Deepening Depth First Search
e Bidirectional search
For selection youve chosen above additional questions:
f Can we add backtracking? Why?
g Can we use Enqued List? Why?
Please dont give any definitions! Just your thoughts.
See next page for next question...
Next scenario imagine that given binary tree data structure for each leftright branch stores some sort of cost distance for you to move along that branch to next node. See image above.
The questions are:
Cost distance of longest path in tree a
Cost distance of longest path in tree b
Cost distance of shortest path in tree a
Cost distance of shortest path in tree b
What we see is a problem for informed search algorithm we have cost distance Now which of the problematic spaces we are dealing here with?
Which one a or b is Telephone Pole space?
Which one a or b is space with local minimumsfalse optimal sub optimal paths
Please dont give any definitions! Just your thoughts.
Next question on next page....
Now imagine next situation:
So the questions are:
For image a which is global optimum path?
For image a is selected heuristics Ok
For image b which is global optimum path?
For image b is selected heuris
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
