Rooted Trees: difficulty 4

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

In an ordered rooted tree, A has children B then C; B has child D; D has children E then F; C has child G. Give (i) the proper ancestors of F from root downward and (ii) the full postorder traversal.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Rooted Trees Questions: