Assume that you have a complete tree with 200 nodes, and thatyou represent it in array form.
Node A of the tree is in position 50 of the array. What are theindices of A’s left child, right child, and parent? Explain how yougot your answers.
What is the height of the tree? Explain your answer briefly.
The bottom level of the tree contains some number of leaf nodes.Is the rightmost leaf node in the bottom level the left child ofits parent or the right child of its parent? Explain your answerbriefly.
In Problem 6, you will implement a method that determines if thecomplete tree
PayPal Gateway not configured
PayPal Gateway not configured