Here the answer is: 0.76 and 1.84
I hope I don't have to explain it again.
Answer:
Step-by-step explanation:
Lets Price of a DVD is fixed i.e. 15
and One CD price is 5 (Not fixed)
In First situation
2 DVDs and 1 CD cost = 35 as given
2 x 15 + 5 = 35
Lets one CD price is 7.5
In Second situation
2 x 15 + 2 x 7.5 = 45
Its mean CD price may be between 5 to 7.5
In asked scenario, Martin has 50
1 DVD and 3 CDs?
1 x 15 + 3 x 7.5 = 37.5
37.5 is lesser than 50
Hence Martin has enough to buy 1 DVD and 3 CDs.
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:
I guess (c) is your answer. thanks!!