binary trees

W Toku Opublikowano Jun 22, 2015 Płatność przy odbiorze
W Toku Płatność przy odbiorze

Using the tree program, write a program to input twenty integers into a tree.

The program should print out the inorder, preorder and postorder traversals for the tree indicating the LEVEL of each node as it is printed out.

In addition to that there should be statements indicating:

The number of leaves in the tree

The number of nodes with only one child

The maximum and minimum leaf levels

The height of the tree

Also indicate if the tree is balanced

For Example…if you entered the values

45

3

66

7

8

99

23

11

44

55

6

2

88

9

0

32

14

103

92

The tree program I gave you would print out that the root is 45, that 3 is the left of 45,

66 is the right of 45, etc

It would then do the inorder traversal:

0 (level 3)

2 (level2)

3 (level1)

6 (level 3)

etc

Then you would say (not necessarily correct) something like:

There are 8 leaf nodes

There are 4 nodes with one child

There are 7 nodes with two children

Maximum leaf level = 6

Maximum leaf level = 3

not balanced...height = 6

Programowanie w C++

Numer ID Projektu: #7909159

O projekcie

36 ofert Zdalny projekt Aktywny Jun 25, 2015

Przyznany użytkownikowi:

hectorenavarrou

Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me again. Hi. Me a Więcej

$10 USD w 1 dzień
(6 ocen)
3.3

36 freelancerów złożyło ofertę za $14 w tym projekcie

vano101

Hello, it's possible to complete it in 2-3 hrs, maybe even sooner .....................................

$10 USD w ciągu 1 dnia
(551 Oceny)
6.7
hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Więcej

$20 USD w ciągu 1 dnia
(47 Oceny)
5.9
Venky117

hi... i can do this. Please let me know to start immediately. i can deliver you on time. Please initiate communication to discuss further. thanks

$15 USD w ciągu 1 dnia
(19 Oceny)
4.4
zabolotniipavel

Hello, My name is Pavel and I have Master Degree in Computer Science.I have a great experience in c/c++/c#. All of the my employees are satisfied with the quality and speed of my work. See my profile to be sure of thi Więcej

$10 USD w ciągu 1 dnia
(24 Oceny)
4.4
ithuang2014

Hello. How are you? I saw your description . I understand it and can do it well. I have done several project like this. I'm an expert in Data Structures and Algorithms. And I know Java ,C/C++ and Python Więcej

$10 USD w ciągu 1 dnia
(20 Oceny)
3.7
hoangduong97

Hello, I am experienced and specialized in C and C++ programing. I have taken part in many competitions, including national competition, in which I won 2nd prize. I always work with responsibility and quality. Please c Więcej

$10 USD w ciągu 1 dnia
(15 Oceny)
3.1
ohahaha

Hi, thank u for considering me. I have more than 4 years experience of C/C++ and can finish this porj within an hour. if u have any questions, feel free to leave messages.

$15 USD w ciągu 0 dni
(6 Oceny)
2.6
flaviusc11

A proposal has not yet been provided

$15 USD w ciągu 1 dnia
(5 Oceny)
2.4
lovinagarwal21

A proposal has not yet been provided

$15 USD w ciągu 1 dnia
(5 Oceny)
2.5
cmw89

Hi, I am a C / C++ programmer. I am good at Data Structures and can provide you the solution exactly according to your requirements. I am available so Contact me anytime...... Thanks.

$15 USD w ciągu 1 dnia
(5 Oceny)
2.4
sud1312

Hey, I can do this in no time. If you're interested, please inbox me. PS - I've been through this type of project before. you can read my reviews.

$10 USD w ciągu 1 dnia
(2 Oceny)
1.7
nu1991

I am a university student of Computer Science Degree and I have good proficiency in Data Structures.

$10 USD w ciągu 1 dnia
(0 Oceny)
0.0
rasmimohakud1

I will solve this program in one day. I am a good programmer for data structure program, i solved may problem on data structure using c++ such as binary tree, binary search tree, avl tree and graph. So i thnk i am ab Więcej

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
Richagarg31

I have strong experience in data structures and C++. I will provide the optimum solution to the problem described in one day.

$10 USD w ciągu 1 dnia
(0 Oceny)
0.0
ranashahroztahir

This program will be ready in few hours and my bid is $15. Payment should be transfer in y account in Pakistan

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
vladguleaev

A proposal has not yet been provided

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
osamasajid7

Hello! I have a great knowledge of C / C++ in which Binary tree and AVL. I build many C / C++ projects but new on freelancer. Thanks Osama Sajid

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
ud2

I can write the program for you. It will be c++ console application. Best Regards ud2 ......................................

$35 USD w ciągu 3 dni
(0 Oceny)
0.0
ashveda123

Wrote code for binary trees almost hundreds of times. Simple to understand and optimally implemented code for the same. Can finish it in 10 hours with all the required functionality.

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
AswinPM

Hello Sir , I am studying B. Tech Computer Science from IIT Madras . I am an expert in C++/C , data structure and i could possible do this project today itself . I am a newbie freelancer so i would like to work for a Więcej

$10 USD w ciągu 1 dnia
(0 Oceny)
0.0