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
Anarel [89]
1 year ago
11

Show the B-tree that results when inserting R,Y,F,X,A,M,C,D,E,T,H,V,L,W,G (in that order)branching factor oft= 3. You need only

draw the trees just before and after each split.
Computers and Technology
1 answer:
Virty [35]1 year ago
8 0

A binary search tree arranges its elements in a specific order.

<h3>What is binary?</h3>
  • Image result for binary
  • Binary describes a numbering scheme in which there are only two possible values for each digit -- 0 or 1 -- and is the basis for all binary code used in computing systems.
  • True, Yes the search algorithm for AVL tree and the binary search tree are same.
  • Because in both trees, of a certain a node, the smaller elements reside in the left sub-tree and the larger elements reside in the right sub-tree.
  • So while searching an element in the AVL tree we start the search from the root node.
  • We compare the element to be searched with the root node.
  • if (element < root node), then move in left and compare with it's left child.
  • else move in right and compare with it's right child.
  • Similarly in next phase move accordingly as in the binary search tree.
  • In a Binary search tree, the value of the left node must be less than the value of the parent node, and the value of the right node must be greater than the value of the parent node. This law is applicable recursively to the root's left and right subtrees.

Binary Search Tree Algorithm:

Search (root, item)  

if (item = root → data) or (root = NULL)  

return root  

else if (item < root → data)  

return Search(root → left, item)  

else  

return Search(root → right, item)  

END if  

Step 2 - END

To learn more about binary refer to:

brainly.com/question/12946457

#SPJ4

You might be interested in
________ are hardware devices or software programs that direct messages as they travel between networks.
In-s [12.5K]
<span>Routers are hardware devices or software programs that direct messages as they travel between networks. the answer is routers</span>
5 0
3 years ago
_______ allows you to add formatting such as shapes and colors to text. a. worddraw b. wordart c. worddesign d. wordshapes
4vir4ik [10]
Word Design is the answer.
4 0
3 years ago
Read 2 more answers
What are the tab keys used for on a keyboard
Ugo [173]
The tab keys are used to advance the cursor to the next tab stop.
4 0
3 years ago
Suppose as a computer programmer, you have been assigned a task to develop a program to store the sorted data in ascending order
patriot [66]

Answer: i dont know but have an great day

Explanation:

5 0
3 years ago
Consider Ron’s budget. How much money does Ron have left over each month?
vladimir1956 [14]
What is Ron’s budget?
4 0
3 years ago
Read 2 more answers
Other questions:
  • How can i do a back up on one computer and save it to the hard drive in another computer without it being seen by others on the
    9·1 answer
  • You can use the_______key if your cursor is at the end of the word. Use the______key if you place the cursor on the left side of
    11·1 answer
  • Which part of a window lets you see a fileâs contents without opening the file?
    9·1 answer
  • If you wanted a computer to store a variable with the content of “110 Maple Street,” which data type would be most appropriate?
    15·2 answers
  • Which of the following is true for an API?
    6·1 answer
  • how do I delete my brainly account, my child signed up for it and nothing has been paid but I do not want the account to exist a
    7·2 answers
  • What can i say back to my IT school lady?
    8·1 answer
  • How to transfer mysql database from one server to another
    6·1 answer
  • When you save a presentation with a .potx file extension, which type of powerpoint file is created?
    8·1 answer
  • Many programmers think object-oriented programming is a superior approach to procedural programming. Others think it adds a leve
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!