Find Jobs
Hire Freelancers

Binary Tree

$5-10 USD

Completed
Posted over 19 years ago

$5-10 USD

Paid on delivery
**1.** For this project, you must supply the code for six of the functions present in the attached file bin-trees-A.cc. The file contains the implementation of a binary tree structure and of some functions to manipulate it. Moreover, the file contains some functions to test this structure and the manipulation functions. To compile this program you should use the command: g++ [login to view URL] -o btree This will create an executable named "btree" (you can change this name if you want) which can be run with the command btree. **2.** To feed data to this program without having to type it every time, you can use the Unix-Linux redirection option "<". For example, we'd like to run the program by taking the input from the attached file: [login to view URL] For this, download the file into the same directory as your program and run the program again with the following command: btree < [login to view URL] This should create a tree that looks like the attached file tree.gif. Modify [login to view URL] to test the functions that you have implemented after it builds the tree. Thus, after printing the tree, it should * count and print the number of zero data values in the tree, * then determine its height, * then increment all the values by one and print the tree again, * then replace the tree with its mirror image and print it, * then destroy the tree and then quit. ## Deliverables 1) Complete and fully-functional working program(s) in ready to compile (linux) form as well as complete source code of all work done. 2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Linux
Project ID: 3399097

About the project

11 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 3 days
5.0 (37 reviews)
3.0
3.0
11 freelancers are bidding on average $6 USD for this job
User Avatar
See private message.
$5.95 USD in 3 days
4.9 (76 reviews)
5.8
5.8
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (212 reviews)
5.8
5.8
User Avatar
See private message.
$6.80 USD in 3 days
5.0 (14 reviews)
4.7
4.7
User Avatar
See private message.
$6.80 USD in 3 days
4.9 (104 reviews)
4.9
4.9
User Avatar
See private message.
$5.10 USD in 3 days
4.9 (35 reviews)
4.2
4.2
User Avatar
See private message.
$4.25 USD in 3 days
4.5 (40 reviews)
3.9
3.9
User Avatar
See private message.
$8.50 USD in 3 days
5.0 (4 reviews)
2.6
2.6
User Avatar
See private message.
$8.50 USD in 3 days
4.2 (5 reviews)
0.9
0.9
User Avatar
See private message.
$3.40 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$4.25 USD in 3 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
New Carlisle, United States
5.0
6
Member since Sep 13, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.