Question: C++ Help: Min Heap Create a heap class/struct Fields: -Array of data points -Count Methods: Add(data) -Adds the data to the tree in heap order.
C++ Help:
Min Heap
Create a heap class/struct
Fields: -Array of data points -Count Methods: Add(data) -Adds the data to the tree in heap order. Delete(void) -Returns the data from the root, and replaces the value at the root with the smallest value in the tree.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
