Question: Q 1) In data structures, what are the formulas for finding the right child, left child and parent? What other trees can be represented into
Q 1) In data structures, what are the formulas for finding the right child, left child and parent? What other trees can be represented into an array?
Q2) What is a heap? What are the different types of cases to consider when deleting the node from a heap?How do you insert a new node into a heap?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
