I need a binary heap which is pretty much like a binary tree using language C. It has two constraints: * The shape property: the tree is an almost complete binary tree; that is, all levels of the tree, except possibly the last one (deepest) are fully filled, and, if the last level of the tree is not complete, the nodes of that level are filled from left to right. * The heap property: each node is greater than or equal to each of its children according to some comparison predicate which is fixed for the entire data structure. “Greater than?? means according to whatever comparison function is chosen to sort the heap, not necessarily “greater than?? in the mathematical sense (since the quantities are not always numerical). Heaps where the comparison function is mathematical “greater than?? are called max-heaps; those where the comparison function is mathematical “less than?? are called “min-heaps. So i need it to do the following: User selects the numbers to be insterted,these will be inserted in a list/array,then the user selects min or max binary heap. His options must be Add or Delete a node for max and min binary heap. The order of the above functions can be altered after discussion with the programmer.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Unix based