Question: data structures in c++ 2 fairly simply problems involving: coding question involving kowledge of binary tree / dynamic allocation / linked Implementation / lists /
data structures in c++
2 fairly simply problems involving:
coding question involving kowledge of binary tree / dynamic allocation / linked Implementation / lists / heaps
QUESTIONS:
1.Write a program that takes N elements as input, and inserts them into a heap one by one. Include a function to print out the elements in the heap.
2. Write a program that takes an elements as in put an insert them into a binary tree. Include a function to print out the elements in the tree.
--------------------------------------
Please, please, please, be original with the code as you can, i have seen other examples and really want to learn these skills.
if there are comments you can add to help me grasp it I would be even more grateful.
Thank you so much for your time!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
