Write a function that takes as input a general tree and


1. Write a post order traversal function for general trees, similar to the preorder traversal function named print given in Section 6.1.2.

2. Write a function that takes as input a general tree and returns the number of nodes in that tree. Write your function to use the Gen Tree and GT Node ADTs of Figure 6.2.

1372_42f0f286-e3ed-4aca-8cde-09220a6b6bcd.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a function that takes as input a general tree and
Reference No:- TGS01649322

Expected delivery within 24 Hours