binary trees

En curso Publicado Jun 22, 2015 Pagado a la entrega
En curso Pagado a la entrega

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

Programación en C++

Nº del proyecto: #7909159

Sobre el proyecto

36 propuestas Proyecto remoto Activo Jun 25, 2015

Adjudicado a:

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 Más

$10 USD en 1 día
(6 comentarios)
3.3

36 freelancers están ofertando un promedio de $14 por este trabajo

vano101

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

$10 USD en 1 día
(551 comentarios)
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 Más

$20 USD en 1 día
(47 comentarios)
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 en 1 día
(19 comentarios)
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 Más

$10 USD en 1 día
(24 comentarios)
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 Más

$10 USD en 1 día
(20 comentarios)
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 Más

$10 USD en 1 día
(15 comentarios)
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 en 0 días
(6 comentarios)
2.6
flaviusc11

A proposal has not yet been provided

$15 USD en 1 día
(5 comentarios)
2.4
lovinagarwal21

A proposal has not yet been provided

$15 USD en 1 día
(5 comentarios)
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 en 1 día
(5 comentarios)
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 en 1 día
(2 comentarios)
1.7
nu1991

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

$10 USD en 1 día
(0 comentarios)
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 Más

$15 USD en 1 día
(0 comentarios)
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 en 1 día
(0 comentarios)
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 en 1 día
(0 comentarios)
0.0
vladguleaev

A proposal has not yet been provided

$15 USD en 1 día
(0 comentarios)
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 en 1 día
(0 comentarios)
0.0
ud2

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

$35 USD en 3 días
(0 comentarios)
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 en 1 día
(0 comentarios)
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 Más

$10 USD en 1 día
(0 comentarios)
0.0