Find Jobs
Hire Freelancers

Linked List

$20-25 USD

Berlangsung
Dibuat lebih dari 19 tahun yang lalu

$20-25 USD

Dibayar ketika dikirim
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
ID Proyek: 3401921

Tentang proyek

11 proposal
Proyek remot
Aktif 20 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
11 freelancer menawar dengan rata-rata $13 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$6,80 USD dalam 2 hari
5,0 (66 ulasan)
6,2
6,2
Avatar Pengguna
See private message.
$8,50 USD dalam 2 hari
4,9 (71 ulasan)
6,2
6,2
Avatar Pengguna
See private message.
$7,17 USD dalam 2 hari
5,0 (321 ulasan)
6,0
6,0
Avatar Pengguna
See private message.
$17 USD dalam 2 hari
4,7 (62 ulasan)
5,2
5,2
Avatar Pengguna
See private message.
$12,75 USD dalam 2 hari
5,0 (13 ulasan)
4,1
4,1
Avatar Pengguna
See private message.
$10,20 USD dalam 2 hari
5,0 (1 ulasan)
3,5
3,5
Avatar Pengguna
See private message.
$17 USD dalam 2 hari
4,9 (11 ulasan)
3,8
3,8
Avatar Pengguna
See private message.
$15,30 USD dalam 2 hari
5,0 (6 ulasan)
3,0
3,0
Avatar Pengguna
See private message.
$17 USD dalam 2 hari
4,9 (14 ulasan)
2,4
2,4
Avatar Pengguna
See private message.
$8,50 USD dalam 2 hari
5,0 (1 ulasan)
1,0
1,0
Avatar Pengguna
See private message.
$21,25 USD dalam 2 hari
4,2 (5 ulasan)
0,9
0,9

Tentang klien

Bendera CANADA
Canada
5,0
26
Anggota sejak Sep 25, 2004

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.