Cost of 380 gram of sweets = (2.1/50) * 380 = $15.96
Answer:
Step-by-step explanation:
a.) The worst-case height of an AVL tree or red-black tree with 100,000 entries is 2 log 100, 000.
b.) A (2, 4) tree storing these same number of entries would have a worst-case height of log 100, 000.
c.) A red-black tree with 100,000 entries is 2 log 100, 000
d.) The worst-case height of T is 100,000.
e.) A binary search tree storing such a set would have a worst-case height of 100,000.
Answer:
972
Step-by-step explanation:
The number of cubes that Devin will need to make will be given by:
(volume of each pyramid wax)/volume of cube
volume of cube=length*width*height
=4×4×4
=64 cm³
volume of the candle=1/3π*(base area)*h
=1/3×(9×9)×10
=270 cm³
number of cubes needed
270/64
=4.21875~4.23 cubes