Question: Binary Search Tree CSE 205 Class Activity Nov 15 15 Pts Name:... 1. Basic Binary Search Tree(BST) Operations a) Binary search tree is considered as
Binary Search Tree CSE 205 Class Activity Nov 15 15 Pts Name:... 1. Basic Binary Search Tree(BST) Operations a) Binary search tree is considered as a better data structure for many computations if the data can be organized into a balaneed binary search tree. What is the height of the balanced binary search tree. Clearly explain your answer b) Explain a situation where a binary search tree can be very unbalanced c)Build the binary search tree for the following data items 689, 78, 67, 34, 456, 234, 890, 12, 0, 23, 45 d)Perform pre-order, post-order, and in-order tree traversal for the binary search tree above (c)? e) Build the binary search tree for the fo llowing items that represents fast-food company names McDonald's, Popeyes, Quizno's, Subway, Taco Bell, TCBY, Tim Hortons, Wendy's, Wingstop WingStreet ) Perform pre-order, post-ordet, and in-order tree traversal for the binary search tree above (e)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
