Find Jobs
Hire Freelancers

Linked List

$20-25 USD

Inaendelea
Imechapishwa over 19 years ago

$20-25 USD

Kulipwa wakati wa kufikishwa
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
Kitambulisho cha mradi: 3401921

Kuhusu mradi

11 mapendekezo
Mradi wa mbali
Inatumika 20 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
11 wafanyakazi huru wana zabuni kwa wastani $13 USD kwa kazi hii
Picha ya Mtumiaji
See private message.
$6.80 USD ndani ya siku 2
5.0 (66 hakiki)
6.2
6.2
Picha ya Mtumiaji
See private message.
$8.50 USD ndani ya siku 2
4.9 (71 hakiki)
6.2
6.2
Picha ya Mtumiaji
See private message.
$7.17 USD ndani ya siku 2
5.0 (321 hakiki)
6.0
6.0
Picha ya Mtumiaji
See private message.
$17 USD ndani ya siku 2
4.7 (62 hakiki)
5.2
5.2
Picha ya Mtumiaji
See private message.
$12.75 USD ndani ya siku 2
5.0 (13 hakiki)
4.1
4.1
Picha ya Mtumiaji
See private message.
$10.20 USD ndani ya siku 2
5.0 (1 hakiki)
3.5
3.5
Picha ya Mtumiaji
See private message.
$17 USD ndani ya siku 2
4.9 (11 hakiki)
3.8
3.8
Picha ya Mtumiaji
See private message.
$15.30 USD ndani ya siku 2
5.0 (6 hakiki)
3.0
3.0
Picha ya Mtumiaji
See private message.
$17 USD ndani ya siku 2
4.9 (14 hakiki)
2.4
2.4
Picha ya Mtumiaji
See private message.
$8.50 USD ndani ya siku 2
5.0 (1 hakiki)
1.0
1.0
Picha ya Mtumiaji
See private message.
$21.25 USD ndani ya siku 2
4.2 (5 hakiki)
0.9
0.9

Kuhusu mteja

Bedera ya CANADA
Canada
5.0
26
Mwanachama tangu Sep 25, 2004

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.