1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nana76 [90]
2 years ago
10

Draw the sequence of BSTs that results when you insert the keys E, A, S, Y, Q, U, E, S, T, I, O, N, in that order into an initia

lly empty tree. And draw the sequence of BSTs that results when you delete the keys from the tree one by one in the order they were inserted. (Note: here your BST should allow duplicate keys).

Engineering
1 answer:
jek_recluse [69]2 years ago
8 0

Answer:

answer is attached

Explanation:

An important special kind of binary tree is the binary search tree (BST). In a BST, each node stores some information including a unique key value, and perhaps some associated data. A binary tree is a BST iff, for every node n in the tree:

All keys in n's left subtree are less than the key in n, and

all keys in n's right subtree are greater than the key in n.

Note: if duplicate keys are allowed, then nodes with values that are equal to the key in node n can be either in n's left subtree or in its right subtree (but not both). In these notes, we will assume that duplicates are not allowed.

Here are some BSTs in which each node just stores an integer key:

You might be interested in
Name the famous engineer in the world​
fgiga [73]

Answer:

Nikola Tesla

Explanation:

5 0
3 years ago
Read 2 more answers
3. (9 points) A square-thread power screw is used to raise or lower the basketball board in a gym, the weight of which is W = 10
Bezzdna [24]

Answer:

a) 49.95 watts

b) The self locking condition is satisfied

Explanation:

Given data

weight of the square-thread power screw ( w ) = 100 kg = 1000 N

diameter (d) = 20 mm ,

pitch (p) = 2 mm

friction coefficient of steel parts ( f ) = 0.1

Gravity constant ( g ) = 10 N/kg

Rotation of electric power screwdrivers = 300 rpm

A ) Determine the power needed to raise to the basket board

first we have to calculate T

T = Wtan (∝ + Ф ) * \frac{Dm}{2} ------------- equation 1

Dm = d - 0.5 ( 2) = 19mm

Tan ∝ = \frac{L}{\pi  Dm}  where L = 2*2 = 4

hence ∝ = 3.83⁰

given f = 0.1 , Tan Ф = 0.1.     hence Ф = 5.71⁰

insert all the values into equation 1

T = 1.59 Nm

Determine the power needed using this equation

\frac{2\pi NT }{60}   =  \frac{2\pi * 300 * 1.59}{60}

= 49.95 watts

B) checking if the self-locking condition of the power screw is satisfied

Ф > ∝  hence it is self locking condition is satisfied

3 0
2 years ago
Create a Relational Schema for the following scenario. Include all primary and foreign keys and list any assumptions you make. 
NARA [144]

Answer:

See explaination

Explanation:

Some of the Important Observation used in Entity Relational Diagram.

1. A Chemist can be involved one project or many projects

2. A project can hire just one or many chemists.

3. A chemist can lead over one or many projects

4. A project can have only one project leader chemist.

5. A project can be done in 1 or many laboratories.

6. A laboratory can host 0 or 1 projects.

7. A laboratory can have 1 or many equipments.

8. An Equipment can be in 1 or 0 laboratories.

9. A chemist can have 0 or many types of equipments.

10. An Equipment can have 0 or 1 chemist at a time

Notations:

PK=Primary Key:

A primary key, also called a primary keyword, is a key in a relational database that is unique for each record. It is a unique identifier, such as a driver license number, telephone number

FK=Foreign Key:

A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. It acts as a cross-reference between tables because it references the primary key of another table, thereby establishing a link between them

Composite key:

A composite key is a combination of two or more columns in a table that can be used to uniquely identify each row in the table when the columns are combined uniqueness is guaranteed, but when it is taken individually it does not guarantee uniqueness

4 0
3 years ago
A typical aircraft fuselage structure would be capable of carrying torsion moment. a)True b)- False
Taya2010 [7]

Answer:

True

Explanation:

An aircraft is subject to 3 primary rotations

1) About longitudinal axis known as rolling

2) About lateral axis known as known as pitching

3) About the vertical axis known as yawing

The rolling of the aircraft induces torsion in the body of the aircraft thus the fuselage structure should be capable of carrying torsion

8 0
2 years ago
A ballistic pendulum consists of a 3.60 kg wooden block on the end of a long string. From the pivot point to the center‐of‐mass
Pavel [41]

Answer:

17.799°

Explanation:

When the bullet hits the block at that time the momentum is conserved

So, initial momentum = final momentum

P_i=P_f

So 28\times 10^{-3}\times 210=(3.6+0.028)v_f

v_f=1.6207\ m/sec

Now energy is also conserved

So \frac{1}{2}\times (3.6+0.028)\times 1.6207^2=(3.6+0.028)\times 9.81\times 2.8(1-cos\Theta )

cos\Theta =0.8521So\ \Theta =17.799^{\circ}

3 0
2 years ago
Other questions:
  • Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to
    5·1 answer
  • A level loop began and closed on BM_A (elevation = 823.368 ft). The plus and minus sights were kept approximately equal. Reading
    11·1 answer
  • . (20 pts) A horizontal cylindrical pipe (k = 10 W/m·K) has an outer diameter of 15 cm and a wall thickness of 5 cm. The pipe is
    14·1 answer
  • Question 10 of 25
    6·2 answers
  • ما جمع كلمة القوة؟help please
    10·1 answer
  • What is the first step of the engineering design process?
    9·2 answers
  • What is the width of a professional football field?.
    5·1 answer
  • One of the key characteristics of ________ sessions is that no idea should be immediately accepted or rejected. prototype alpha
    15·1 answer
  • The forklift exiting an aisle in a warehouse has the right of way?
    15·1 answer
  • Can you help me with this task/homework.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!