
5 BST Transformations- (30 pts) In this problem you will prove that any arbitrary n-node binary search tree Tı can be transformed into any other arbitrary n-node binary search tree T2 using O(n) rotations. (a) Show that at most n – 1 right rotations suffice to transform any arbitrary n-node binary search tree into a right-going chain. To do this do the following (no partial credit if you skip one of the steps below, e.g.,
PayPal Gateway not configured
PayPal Gateway not configured