Friday
April 18, 2014

Homework Help: programming

Posted by Lynn on Friday, January 13, 2012 at 4:02pm.

The Binary Tree is one of the best ways to organize data when you need fast access. For this assignment, we will organize a list of names and perform various operations on those names. Build and show a binary tree based on the following names inserted into the binary tree in order listed: John, Eddie, Kim, Derrick, Ethan, Lonny, Mark, Curly, Donny, Nancy, Patricia, Oscar.

•Show the order to names for a preorder traversal
•Show the order to names for a postorder traversal
•Show the order to names for a inorder traversal
Is this tree balanced? Why or why not?

How would the tree need to look for it to be more balanced if it is not?

If we deleted Eddie from the tree, what would the new tree look like (use one of the current names to replace Eddie and the tree redone)?

I do not know where to start...Please point me in the right direction so I know how to do this on my own? Thanks

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

math - the binary system is used for computer programming. a binary number ...
Programming - (i) What is binary tree (ii) Write a program to multiply any two ...
Cpro - 1.What is a number system in computer programming? 2. what is binary, ...
programming 2 - Write a program that inputs a word representing a binary number...
computer science - suppose binary heaps are represented using a pointer-based ...
math - From 70 feet away from the base of a tree on level ground, the angle to ...
binary compounds - an example of a binary compound is Take a metal and combine ...
chemistry - I have 3 questions that I am uncertain about. 1) what determines the...
programming - Write an algorithm that converts a decimal number to binary. Then...
Maths - A full binary tree of height 4 has 15 nodes The 8 nodes at the bottom of...

Search
Members