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, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 03.07.2019 15:10
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
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, 30.01.2020 23:03
question
Mathematics, 30.01.2020 23:03
Questions on the website: 13722361