Find Jobs
Hire Freelancers

Data Structure: Binary Search Tree Assignment

$10 USD

Completed
Posted about 8 years ago

$10 USD

Paid on delivery
Build a binary search tree, using links (not an array) for 15 records. The data in these records will hold names and their associated weights. Read the data from the screen. Required functionality (Each # should be separate methods): 1. Build the tree from the unique set of names (names are the key value) and their associated weights. 2. Execute a preorder traversal 3. Execute an inorder traversal 4. Execute a postorder traversal 5. Find and print the height of the tree using recursion, do not add a height variable to the tree structure, the algorithm stack should hold this. 6. Determine the number of leaves and print the result (remember a leaf has no children). 7. Implement search functionality that will search for a name and indicate the weight for that individual if they exist in the structure, otherwise stating no match exists. 8. Determine the lowest weight contained in the tree. 9. Find the first name in alphabetical order (this should not go through every node, unless the tree happens to be a linked list). Example: [login to view URL]
Project ID: 10156579

About the project

27 proposals
Remote project
Active 8 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
I can do this project and can have the code for you in about two days. I will test it out and send you the results which you can then check.
$10 USD in 2 days
5.0 (4 reviews)
1.4
1.4
27 freelancers are bidding on average $31 USD for this job
User Avatar
I've implemented binary search trees numerous and I would like to do this project if given the opportunity. I know the algorithm and code to perform the necessary operations based on your requirements. Let me know if you are interested so I can start. Thanks.
$30 USD in 1 day
4.9 (789 reviews)
7.4
7.4
User Avatar
Hello, they are short algorithms, but they are 9... I can do it for sure. I love c/c++ since more than 20 years ago. Best regards!
$40 USD in 2 days
5.0 (176 reviews)
7.5
7.5
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD in 1 day
4.9 (203 reviews)
7.3
7.3
User Avatar
Hi. i have a lot of experience in data structures and alogorithms. I can easily help you with this project in given time. we can have a chat about it. thanks.
$40 USD in 1 day
4.9 (396 reviews)
7.5
7.5
User Avatar
Hi, I am an experienced C/C++ programmer. I am familiar with binary search trees, their traversals and other topics associated with this. I can do this assignment in under one day. Please contact me.
$30 USD in 1 day
4.9 (136 reviews)
6.6
6.6
User Avatar
Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$50 USD in 1 day
4.9 (125 reviews)
5.8
5.8
User Avatar
i can do ............................................................ ..................................................................................................
$24 USD in 1 day
4.9 (55 reviews)
5.2
5.2
User Avatar
I can solve your problem within 1 day. Quickly and well. I have a lot of experience with C++ and algorithms. I have recently graduated from the second-best IT university in Europe (University of Warsaw).
$40 USD in 1 day
5.0 (25 reviews)
4.6
4.6
User Avatar
Hi, client. I am a C++ programmer and mathematician. Your task is no problem for me. But your budget is too low. You can see similar task done from my work list. Please check my Profile/RecordList and tell me details. Looking forward to your response. I can consider the price if current bid price is difficult for you, but not too low. Thanks.
$70 USD in 1 day
4.9 (34 reviews)
4.7
4.7
User Avatar
Hi, C++(BFS,DFS) is my skill!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I found your job post and I'm very interested in your project. As a certified desktop application developer with 5-years experience developing C++(BFS,DFS), I think you'll find I have the right skills you're looking for. I'm free now and have availability beginning now. I will be online all day if you would like to discuss. Otherwise, please let me know what times work for you. Let's build success!!! Thank you for your time and consideration.
$55 USD in 1 day
5.0 (18 reviews)
4.8
4.8
User Avatar
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
$35 USD in 1 day
4.7 (40 reviews)
5.0
5.0
User Avatar
Hi, I have lots of experience in C/C++ and did a BST project a few days ago (see rating). I need to charge a little bit more because I know that BSTs can be pretty buggy and it needs some time to build them in a correct way. Feel free to contact me if you need my help. Best Regards, Paul
$30 USD in 1 day
5.0 (8 reviews)
2.8
2.8
User Avatar
Hi, c++ expert here.. I can do your job within less time.. Please send me message for further details...
$15 USD in 1 day
4.9 (9 reviews)
2.8
2.8
User Avatar
I can give you the solution on time...It's an easy task for me..Data structure and algorithms interests me...So i could be guy you are looking for.. Thank you
$35 USD in 1 day
5.0 (4 reviews)
2.0
2.0
User Avatar
Hi, It's small project and I can do it for you. Anyway, hope you find the right one. Or if you dont want to hire anyone, look for example in the internet. It should be fine as well.
$25 USD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
i will do this efficientely
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
- Have written binary search trees before. - Will write comments - Will use whatever coding style you want - Will compile for any system - Will write it in C
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, this is my first attempt at freelancer work. I have already completed and tested the program. I believe it is working according to your specification outlined in the document and example. However, if there are any bugs or stylistic changes you need, I will gladly iron those out. Here is an example output (With input for selecting options/insertions/etc): Options: 1: Insert 2: Preorder 3: Inorder 4: Postorder 5: Height 6: Leaves 7: Search 8: Lowest 9: FirstName Anything else: Quit Enter Option: 1 Input key value and weight Mike 100 Enter Option: 1 Input key value and weight Tom 75 Enter Option: 1 Input key value and weight Steve 99 Enter Option: 1 Input key value and weight Carry 58 Enter Option: 1 Input key value and weight Stephanie 82 Enter Option: 1 Input key value and weight George 42 Enter Option: 2 Preorder: Mike, Carry, George, Tom, Steve, Stephanie Enter Option: 3 Inorder: Carry, George, Mike, Stephanie, Steve, Tom Enter Option: 4 Postorder: George, Carry, Stephanie, Steve, Tom, Mike Enter Option: 5 Height: 3 Enter Option: 6 Leaves: 2 Enter Option: 7 Input key value to search Steve 99 Enter Option: 8 Lowest: 42 Enter Option: 9 First Name: Carry Enter Option: quit
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I can submit this project just after at most two hours after getting it. also I can make the tree generic if you need not just for string key type and integer value type.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
100 % work garuntee
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Francisco, United States
5.0
14
Payment method verified
Member since Mar 14, 2016

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.