Use a binary tree structure to implement the interview. Eachnode must include a question and depend on a YES/NO or TRUE/FALSEanswer navigate to either the right or left branch of the tree toask the next question.
Questions are as follows:
Is your blood type O?
Is your RH factor positive?
Is your marital status single?
Alcohol use?
Tobacco use?
Pregnant?
drug use?
Answer
Below is the binary tree representation of series of interviewquestion, where based on whether the answer is “yes” or “no”, thenext question is asked.
Please
OR
OR