Find Jobs
Hire Freelancers

Linked List

$20-25 USD

En curso
Publicado hace más de 19 años

$20-25 USD

Pagado a la entrega
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 del proyecto: 3401921

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 20 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
11 freelancers están ofertando un promedio de $13 USD por este trabajo
Avatar del usuario
See private message.
$6,80 USD en 2 días
5,0 (66 comentarios)
6,2
6,2
Avatar del usuario
See private message.
$8,50 USD en 2 días
4,9 (71 comentarios)
6,2
6,2
Avatar del usuario
See private message.
$7,17 USD en 2 días
5,0 (321 comentarios)
6,0
6,0
Avatar del usuario
See private message.
$17 USD en 2 días
4,7 (62 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$12,75 USD en 2 días
5,0 (13 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$10,20 USD en 2 días
5,0 (1 comentario)
3,5
3,5
Avatar del usuario
See private message.
$17 USD en 2 días
4,9 (11 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$15,30 USD en 2 días
5,0 (6 comentarios)
3,0
3,0
Avatar del usuario
See private message.
$17 USD en 2 días
4,9 (14 comentarios)
2,4
2,4
Avatar del usuario
See private message.
$8,50 USD en 2 días
5,0 (1 comentario)
1,0
1,0
Avatar del usuario
See private message.
$21,25 USD en 2 días
4,2 (5 comentarios)
0,9
0,9

Sobre este cliente

Bandera de CANADA
Canada
5,0
26
Miembro desde sept 25, 2004

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.