Find Jobs
Hire Freelancers

Java program on 2 binary search trees.

$10-30 USD

Completed
Posted about 8 years ago

$10-30 USD

Paid on delivery
This project compares the performance of 2 binary search trees as more objects are added to them. Initially, one tree is balanced and one is not. Modify the Add method so that it returns the number of comparisons used. Then create 2 empty binary search trees. Associate 2 variables with each tree. One variable sums the number of comparisons used in adding values to a tree, and the other sums the heights of a tree at certain times following the insertion of several values. In a loop that executes 100 times do the following: Add the values 1000,2000,3000,4000,5000,6000,7000,8000 to both trees. In the first tree, add them in increasing order. In the second, add them in order that forms a complete tree. Your first tree will be unbalanced, while the second tree is balanced. Generate 10 random values between 0 and 9000. Add these values to each tree in the same order. After each of these additions, update each tree’s comparisonSum variable by the number of comparisons performed for the insertion. Add each tree’s height to is heightSum variable Clear the two trees.
Project ID: 10492956

About the project

18 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
Hello. It is easy assignment it can be completed in few hours of pure working time.
$12 USD in 1 day
4.9 (1470 reviews)
7.7
7.7
18 freelancers are bidding on average $27 USD for this job
User Avatar
Hi, I'm Abhijit Mondal from Bangladesh and my background is in Computer Science and Engineering at Bangladesh University of Engineering and Technology. I am an expert Java and Android developer and I have 5 years of experience coding with these languages. I have read the job description you provided above. I am very much familiar and interested to develop your required software with Java. Also I'm a preferred freelancer in this site by virtue of Java coding skills. If I get the proper job description, I will start from right then working on it as I am completely free to work in next few weeks. I think it will be nice working for you.
$35 USD in 1 day
4.9 (242 reviews)
6.7
6.7
User Avatar
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 150 projects and over 250 hours doing java projects. plus i passed freelancer java exam with top 20% plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$25 USD in 1 day
4.9 (413 reviews)
6.6
6.6
User Avatar
Hello There, I am expert in Java. I can do the work as per the requirement, Looking forward for your reply. Thanks
$30 USD in 1 day
5.0 (43 reviews)
6.1
6.1
User Avatar
Hi there! I will be happy to assist you in your assignment and will add comments for you to understand. I look forward to your acceptance. The program will be of high quality and fully tested.
$35 USD in 2 days
5.0 (38 reviews)
5.5
5.5
User Avatar
Hello i'm software engineer. I'm expert java developer and experienced in data structures work. I can deliver this work in one day. Please contact me for details Regards Usman Shery
$20 USD in 1 day
4.9 (104 reviews)
5.8
5.8
User Avatar
I am a professional java developer with expert skills in data structures and can provide you this project. Looking forward to be working with you.
$25 USD in 1 day
4.8 (40 reviews)
5.0
5.0
User Avatar
Hi, I am Software Engineer. I have skills in Desktop Application Development, Android Development and Databases. I have experience with C/C++, C#, Java, Visual Basic, SQL/MySQL, HTML/CSS and Javascript. I can do your required work. Regards, Naveed Ahmed
$25 USD in 1 day
5.0 (27 reviews)
4.6
4.6
User Avatar
A Sun Certified Java Programmer here. I've been teaching Java in PG/UG classes since last 12 years. I've also passed Java (Level-1) Exam with 90%. I've gone through your requirements...I can surely and quickly do them. I've also completed a few assignments in Java here. Check out my profile...4.9 star rating, 100% completion rate and 10 +ve reviews. Bid amount is negotiable/revisable.
$35 USD in 1 day
4.5 (8 reviews)
3.9
3.9
User Avatar
A proposal has not yet been provided
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$18 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Frostburg, United States
5.0
6
Member since Apr 4, 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.