Find Jobs
Hire Freelancers

C++ Homework Project

$5-10 USD

Completed
Posted over 21 years ago

$5-10 USD

Paid on delivery
The purpose of this assignment is in two folds: to understand and implement BST ADT, and to learn to use BST. For the first part, you are to implement the BST ADT. The minimum requirement for BST is to implement at least the member functions given in the lecture. Do not use the data structures provided in STL (standard template library) such as queue, stack, etc, in implementing the BST. If you need such data structures, use your own implementation. For the second part, you are to write a program that creates and maintains a pair of binary search trees, called OAK and PINE, using the BST you implemented. Data Structures You will need two binary search trees, OAK and PINE. Each node on the trees contains the following information: Name Phone number Pointers to left/right subtree The nodes on each tree are to be ordered by name. Input The input to the program is a series of commands. The program is to read the input interactively. That is, the program displays a menu (list of available commands) and lets the user select one from it. Depending on the command selected, the program prompts the user for further input if necessary to complete the selected command. See the sample session below for detail. Commands The following are the commands to the program. In addition to executing the command, you must echoprint each command as it is read in. A blank line should be output after each command to improve readability. See the sample session below for detail. ADD <Name> The specified person should be added to the tree designated by . You may assume that no two people have the same name. DELETE <Name> Delete the specified <Name> from the designated tree. You cannot assume that the person is actually on the tree. If the person is not found in the tree, print appropriate message. CHECK <Name> Check whether the specified <Name> is on the designated tree, and print an appr ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform windows 98 , microsoft visual c++ 6.0
Project ID: 2879617

About the project

4 proposals
Remote project
Active 22 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.
$6 USD in 14 days
5.0 (51 reviews)
3.2
3.2
4 freelancers are bidding on average $6 USD for this job
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (25 reviews)
5.3
5.3
User Avatar
See private message.
$4.25 USD in 14 days
4.5 (1 review)
0.0
0.0
User Avatar
See private message.
$5.95 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
5
Member since Oct 28, 2002

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.