Find Jobs
Hire Freelancers

Linked List

$20-25 USD

Em Andamento
Publicado há mais de 19 anos

$20-25 USD

Pago na 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 do Projeto: 3401921

Sobre o projeto

11 propostas
Projeto remoto
Ativo há 20 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
11 freelancers estão ofertando em média $13 USD for esse trabalho
Avatar do Usuário
See private message.
$6,80 USD em 2 dias
5,0 (66 avaliações)
6,2
6,2
Avatar do Usuário
See private message.
$8,50 USD em 2 dias
4,9 (71 avaliações)
6,2
6,2
Avatar do Usuário
See private message.
$7,17 USD em 2 dias
5,0 (321 avaliações)
6,0
6,0
Avatar do Usuário
See private message.
$17 USD em 2 dias
4,7 (62 avaliações)
5,2
5,2
Avatar do Usuário
See private message.
$12,75 USD em 2 dias
5,0 (13 avaliações)
4,1
4,1
Avatar do Usuário
See private message.
$10,20 USD em 2 dias
5,0 (1 avaliação)
3,5
3,5
Avatar do Usuário
See private message.
$17 USD em 2 dias
4,9 (11 avaliações)
3,8
3,8
Avatar do Usuário
See private message.
$15,30 USD em 2 dias
5,0 (6 avaliações)
3,0
3,0
Avatar do Usuário
See private message.
$17 USD em 2 dias
4,9 (14 avaliações)
2,4
2,4
Avatar do Usuário
See private message.
$8,50 USD em 2 dias
5,0 (1 avaliação)
1,0
1,0
Avatar do Usuário
See private message.
$21,25 USD em 2 dias
4,2 (5 avaliações)
0,9
0,9

Sobre o cliente

Bandeira do(a) CANADA
Canada
5,0
26
Membro desde set. 25, 2004

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.