Find Jobs
Hire Freelancers

Linked List

$20-25 USD

In Progress
Posted over 19 years ago

$20-25 USD

Paid on delivery
Linked List To implement different methods of the LinkedList class in [login to view URL] package and using the ListIterator. The problem is to create a linked list of unique integers. You need to write two classes. Class RandomNumbers and class TestRandom. Class RandomNumbers: This class contains a linkedList as a data member. The constructor of this class receives an integer number which represents the size of the linkedList. Construct the linked list using random number generator, which generates integers between 0 and LinkedList size /2. For example, if the linked list size is 20, then the range of the generated numbers would be between 0 and 9. The generated Linked List will contain duplicate numbers. Our problem is to remove all the duplicated nodes. Add two methods to this class, findRandom and printRandom. findRandom: this method will scan the linked list until the end and remove all the duplicate numbers from the list. The simplest way is to sort the Linked List first, then remove the duplicates. Example: The random Linked List of size 20: 6 3 0 8 6 0 9 0 3 1 8 4 6 9 9 6 1 3 4 2 The sorted Linked List: 0 0 0 1 1 2 3 3 3 4 4 6 6 6 6 8 8 9 9 9 The resultant Linked List: 0 1 2 3 4 6 8 9 printRandom: This method will scan the linked list and print the nodes. Class TestRandom: This class contains the main function. In main(), use showInputDialog to input the size of the Linked List. Create an object of RandomNumbers class passing this number to its constructor. Call the method printRandom. Call the method findRandom. Call the method printRandom. Note: Use the Linked List class and the List Iterator that are defined in Java Library. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) 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 winxp
Project ID: 3401921

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
11 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$6.80 USD in 2 days
5.0 (66 reviews)
6.2
6.2
User Avatar
See private message.
$8.50 USD in 2 days
4.9 (71 reviews)
6.2
6.2
User Avatar
See private message.
$7.17 USD in 2 days
5.0 (321 reviews)
6.0
6.0
User Avatar
See private message.
$17 USD in 2 days
4.7 (62 reviews)
5.2
5.2
User Avatar
See private message.
$12.75 USD in 2 days
5.0 (13 reviews)
4.1
4.1
User Avatar
See private message.
$10.20 USD in 2 days
5.0 (1 review)
3.5
3.5
User Avatar
See private message.
$17 USD in 2 days
4.9 (11 reviews)
3.8
3.8
User Avatar
See private message.
$15.30 USD in 2 days
5.0 (6 reviews)
3.0
3.0
User Avatar
See private message.
$17 USD in 2 days
4.9 (14 reviews)
2.4
2.4
User Avatar
See private message.
$8.50 USD in 2 days
5.0 (1 review)
1.0
1.0
User Avatar
See private message.
$21.25 USD in 2 days
4.2 (5 reviews)
0.9
0.9

About the client

Flag of CANADA
Canada
5.0
26
Member since Sep 25, 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.