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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!