HELLO! I have an assignment in Data Structures course regarding to trees. Please solve it step by step using pen and pap
Posted: Mon Jun 06, 2022 12:31 pm
HELLO! I have an assignment in Data Structures course regarding
to trees. Please solve it step by step using pen and paper, and
explaining the steps. Do not code.
Question : BST
Enter the https://www.random.org/sequences/ and generate a sequence
of numbers
(smallest value 1 and largest 100). Get the first 10 values
and:
a)Insert the values into the binary search tree.
b)Show the steps for inserting another value to the BST greater
than the root?
c)Show the steps for deleting a node that has two children from
your BST?
d)Print in pre/post/in order the tree.
to trees. Please solve it step by step using pen and paper, and
explaining the steps. Do not code.
Question : BST
Enter the https://www.random.org/sequences/ and generate a sequence
of numbers
(smallest value 1 and largest 100). Get the first 10 values
and:
a)Insert the values into the binary search tree.
b)Show the steps for inserting another value to the BST greater
than the root?
c)Show the steps for deleting a node that has two children from
your BST?
d)Print in pre/post/in order the tree.