Assuming a d-heap means the order of the tree representing the heap is d.
Most of the computer applications use binary trees, so they are 2-heaps.
A heap is a complete tree where each level is filled (complete) except the last one (leaves) which may or may not be filled.
The height of the heap is the number of levels. Hence the height of a binary tree is Ceiling(log_2(n)), for example, for 48 elements, log_2(48)=5.58.
Ceiling(5.58)=6. Thus a binary tree of 6 levels contains from 2^5+1=33 to 2^6=64 elements, and 48 is one of the possibilities. So the height of a binary-heap with 48 elements is 6.
Similarly, for a d-heap, the height is ceiling(log_d(n)).
Interest = PRT/100
I= 14000*0.12*3
I=5040
Add Interest to the Principal
14000 + 5040
= $19,040
A is the answer.
Answer:
yes tha
Step-by-step explanation:
Answer:
c.
Step-by-step explanation:
10.98/2=5.49
16.19/3=5.40
21.15/4=5.29
26.85/5=5.37
Answer:
-3000000000
Step-by-step explanation:
Math