Question: Let us consider a Binary Search Tree, BST , with N elements and with height ( H ) . Select one or more:a

Let us consider a Binary Search Tree, BST, with N elements and with height \( H \).
Select one or more:a. Delete of a one child node is in \(\mathrm{O}(\mathrm{N})\) if BST respects the AVL propertyb. \(\mathrm{N}=\log \mathrm{H}\) if the BST is degenerated (each node has at most 1 child).c.\( N=H^{2}\) if BST is a perfect balanced tree (each non leaf node has exactly 2 children)d. Printing BST using the pre order, the post order or the in order traversal is in \(\mathrm{O}\left(2^{\mathrm{H})}\right.\)) if BST is perfectly balanced (each non leaf node has exactly 2 children)e. Printing BST using the post order traversal is in \(\mathrm{O}(\log \mathrm{H})\) if BST respects the AVL propertyf. Delete of a leaf node is in O(1) if the tree is degenerated (each node has at most 1 child).
Let us consider a Binary Search Tree, BST , with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!