Question no 26)
Answer) Node 20 will be inserted to the right of node 19.
Explanation:- One of the basic properties of BST(binary search tree) is that left child must be smaller than the parent child and right child must be greater than parent child.
Let start from the root node.
Node 23 is greater than node 20 ,therefore node 20 should be placed to the left sub tree of node 23
Node 15 is smaller than node 20 ,therefore node 20 should be placed to the right sub tree of node 15
Node 18 is smaller than node 20 ,therefore node 20 should be placed to the right sub tree of node 18
Node 19 is smaller than node 20 ,therefore node 20 should be placed to the right sub tree of node 19
Question 27)
Answer) Node 35 will on the right of the node 29.
Explanation)
Since node 34 has no any left child ,therefore we need not be bothered about the left sub tree.
We simply replace node 34 with its right sub child which is node 35.Since node 35 is the right child of node 34 ,it will be greater than node 34 as well as node 29.
Thus BST property also get satisfied.
Question 28)
Answer) Node 18 will be on the left of node 23. Node 19 will be on the right of the node 18.
Explanation)
Whenever we have to delete a non-leaf node from a binary search tree we can do one of the following two things:-
Here we are using rule 1 to delete the node.
Please note_- If we use rule 2 ,our answer will be different but both the answers are absolutely correct.
If we use rule 2) our answer will be- Node 11 will be on the left of node 23 .Node 18 will be on the right of node 11.
c++ (explain Question 26 3 pts For the next three questions, consider the following BST: 21...
w Question 51 3 pts **WRITTEN WORK** Draw the structures for compound A-C in the following sequence of reactions. OH Come H,PO A СРВА A B NON МОН HTML Editor В І у А. I EI x x, E STT 12pt Paragraph O words Question 52 3 pts Question 52 3 pts **WRITTEN WORK** Draw the structures for compound D-F in the following sequence of reactions. OH (CH):COK D E 1. BH,THF. PBrs 2. H2O2, HOF HTML Editor BIVA -...
Question 12 3 pts What are the three general types of organizational change described in the book and lectures? BIVA HTML Editore A- IES XX, E v VOC 12pt Paragraph O words
Question 23 4 pts What occurs in the pancreas in each of the following (you should describe the activity and/or concentration of two hormones for each part): A.) when fasting? B.) immediately following a meal? HTML Editor В І А A- IE2 1 x x, E - DC ? x DT 12pt Paragraph O words
Question 4 2 pts If the period of a wave is 0.5 sec, with a wavelength of 5 m, what is speed of the wave? HTML Editor В І у А -A- IX EE 3 1 IX X, IEE - EN VXVV TT TT 12pt Paragraph O words words D Question 5 2 pts Batman sees the flash of a bomb planted by the Joker in the distant horizon, but hears the explosion 3.2 seconds later. How far away did...
Question 4 1 pts Explain the difference in the signs and symptoms of the common cold and influenza. HTML Editora В І U A A IX HH - 12pt Paragraph O words
Question 2 3 pts What is the role of Cas9 in a bacterial cell? Explain the general function of this protein. HTML Editor V : BI ME A - A - Ix 5 N Vx young 3 V x TT x 12pt E - Paragraph D © @ O words Question 3 3 pts Explain the contributions of of Francisco Mojica in the discovery of CRISPR in one paragraph. HTML Editora B I - U D A - A -...
Question 21 (SLO 8) Down syndrome and Turner's syndrome are two genetic disorders that ini abnormal chromosomes. Identify the exact chromosomal aberration and the impac the aberration on development for each syndrome. BIU A- A - I E I I - E V OD 1 x 12pt x ! HTML Editore E Paragraph O words Question 22 ISLO A debatt en bolleferi 30 pts Question 22 30 pts (SLO 4) The debate between bottle-feeding and breastfeeding has raged for decades....
both please Question 3 14 pts Label the parts of the brain below (A-N) A B C D E F G Mid Sagitta Section H NML Kj BIŲ A HTML Editore A- IE * 5 * X, VTT 12pt O words Question 4 2 pts 1. Is the brain in question #4 a human brain or a sheep brain? 2. Support your answer. (How can you tell?) HTML Editor BIVA - A - I E ** 15 x V GOV...
7 pts Write the code to create a heading level 3 with a background color green and rounded corners. HTML Editora BIYA - A - Ix E F 1 1 1 x x, - D SV GRAVIT 12pt Question 5 7 pts Write the HTML/CSS that creates a class named tsutext that changes the text color to purple and centers it. Also write the html code that assigns the class to a paragraph. HINT: Two lines of code only! HTML...
Question 3 1.5 pts Calculate the present value of $89,000 to be received in 15 years, assuming an opportunity cost of 14 percent. HTML Editor B I VA - AI E E 1 1 1 XX, EE - 2 V eronika V T 12pt , Paragraph