Question: In addition to the value, each node stores in a data member named count the number of nodes in the tree rooted at that node

In addition to the value, each node stores in a data member named count the number of nodes in the tree rooted at that node (see the illustration for an example). 10 count -9 5 Count = 6 15 count = 2 3 count 2 7 count = 3 20 count = 1 2. count = 1 6 count - 1 9 count 1 What modifications need to be made to the following code for the insert function in order for the count variable to be updated correctly? Provide only the line number(s) and the modified code at these lines only (do not re-write the whole function). template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
