Find Jobs
Hire Freelancers

Binary Search Tree in Swing

$15-20 USD

进行中
已发布超过 20 年前

$15-20 USD

货到付款
Ok- This is a homework assignment. it reads: 1. Create 30 random integers from 1 to 100 and insert them into a binary search tree. Print the integers as they are generated. 2. Traverse the tree in-order to show the integers in it. 3. Use a binary search of the tree to look for various integers from 1 to 100, keeping track of how many comparisons are needed in each search. So I started to write the code for this program, and it's pretty much all laid out on how I want it to work. The 30 random integers are inserted into the tree and it traverses like it's supposed to. **What I need help on is the search part (Step 3) ** I tried to write the "search" part and I have a general idea on how to do it but can't seem to get that exactly right either. I "commented out" the entire search area because I needed to check the program to make sure everything else worked correctly I need the coder to **use all of the code I wrote already**, since this is the format that I need the assignment in. I will be attaching 3 files: **TreeTest**, which inclues the main method and calls the other classes **TreeNode**, which inserts the values into the tree structure and **Tree,** which performs the inorder traversal and includes the search information. These three separate files need to be **compiled into a project and run together**... I would prefer that you use **JGrasp** if possible, and please note whether or not you will do that on your bid. The input dialog box is in **swing ([login to view URL])** and it needs to be like that so please don't change it. Everything I have so far needs to be followed. All I really need is someone to fix the mistakes in what I have written or add things I may have missed. I don't thoroughly understand what I'm doing so some things might be a little backwards or out of sequence. Thanks for your help. ## 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. ## Platform I need this file to run as a project compiled in the newest version of JGrasp
项目 ID: 3010881

关于此项目

3提案
远程项目
活跃20 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$7 USD 在2天之内
5.0 (126条评论)
4.7
4.7
3威客以平均价$11 USD来参与此工作竞价
用户头像
See private message.
$16.15 USD 在2天之内
5.0 (159条评论)
6.0
6.0
用户头像
See private message.
$8.50 USD 在2天之内
4.6 (3条评论)
1.7
1.7

关于客户

UNITED STATES的国旗
United States
5.0
2
会员自10月 15, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。