subject
Engineering, 05.05.2020 08:08 nicoleh2015

There are many ways to support a dictionary (set, on which the operations of insert, delete, and lookup can be performed). Among these are various types of hash tables, binary search trees, and various kinds of balanced-search-tree schemes. These schemes offer different per-operation running times, both in the worst-case and expected-case senses. Analyze each of the following schemes, both for the worst and expected cases. A tight big-oh approximation is sufficient, assuming n is the number of elements currently in the set.

1. A chained hash table with n/(log n) buckets.
2. A binary search tree.
3. A hash table using open addressing and quadratic probing, with 2n buckets.
4. A balanced binary tree such as a 2-3 tree.

Referring to these as "schemes 1, 2, 3, and 4," find the true statement below. Note that a statement like "scheme x is O(y)" should be interpreted as meaning "is O(y) but not of any significantly lower running time." Formally, we mean that the running time is also big-omega of y.

a) Scheme 3: Expected O(n)
b) Scheme 1: Worst-Case O(1)
c) Scheme 4: Expected O(1)
d) Scheme 4: Worst-Case O(log n)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
question
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
The sum of the normal stresses does not change as the stress state rotates through an angle. a)-trune b)- false
Answers: 2
question
Engineering, 04.07.2019 19:20
The power source in a certain welding setup generates 3500w that is transferred to the low carbon steel work with a heat transfer factor of 0.85. the melting factor in the operation is 0.45. a continuous fillet weld is to be made with a cross-sectional area of 23 mm2 determine the travel speed at which the welding can be accomplished.
Answers: 3
You know the right answer?
There are many ways to support a dictionary (set, on which the operations of insert, delete, and loo...
Questions
question
History, 20.03.2020 11:38
question
Mathematics, 20.03.2020 11:40
question
Mathematics, 20.03.2020 11:40
Questions on the website: 13722360