d-heap is generalization of binary heap.it is one kind f advantage in c++.d-heap is a priority queue data structure,a generalization of the binary heap in which the nodes have d children instead of 2,. thus a,binary heap is a 2-heap,and a ternary heap is a 3-heap.
Comments