Answer:
There's not enough information to answer the question.
Step-by-step explanation:
The question says that out of 84 kids, 3/7 bought their lunches. Then it asks how many of the 3/7 got pizza without providing a number of those who bought a different food. And so, there's not enough information to solve this question.
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:
Kenny is 18 years old Andrew is 10 years old Tim is 30 years old and Cameron is 5 years old
Step-by-step explanation:
Let a be Kenny's age , b be Andrew's age , c be Tim's age , d be Cameron's age
( b < a , b<c , d<b)
Kenny is 8 years older than Andrewn = > a = b + 8 (1)
Tim is 3 times as old as Andrew => c = 3 . b (2)
Cameron is 5 years younger than Andrew => d = b-5 (3)
The combined age of the four is 63 => a+b+c+d = 63 (4)
(1),(2),(3),(4) => b+8 + b + 3b + b-5 = 63 <=> 6b + 3 = 63 <=> b = 10
=> a= 10+8 =18, c = 3 . 10 = 30, d= 5