Wednesday
April 1, 2015

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

Science - What is the main benefit of using scientific names instead of common ...
Ethologists - hi my names Rebecca and i need to write an assignment, i need a ...
biology - I' like to know about names of the common plants and fish or animals ...
math - Andes wants to collect data about the preferences of the people who work ...
3rd grade science - 1)list five ways germs were spread in pioneer days. 2)list ...
History - What made the Knights of Labor interesting and important? Select one: ...
History - What is the best ways to organize a dbq and a thematic essay for the ...
programming - write a program that determines how many names are on the boy's ...
English 10 --- Check Please - I this paragraph correct? Many names for groups ...
intro programming - (algorithm workbench) Write assignment statements that ...

Members