Find Jobs
Hire Freelancers

data structures

$10-30 USD

Concluído
Publicado há mais de 8 anos

$10-30 USD

Pago na entrega
We are going to compare the performance between Arrays and Linked Lists.\r\nPlease write C/C++ program following the procedure:\r\n1. Suppose that N is 100 (a number of data).\r\n2. Generate N random numbers between 0 and 100 (can be duplicated)\r\n3. Store the numbers by using both an array and a Linked List.\r\n4. Randomly select one index number between 0 and N-1, and Add a random\r\nnumber to the index of the Array (or Linked List).\r\nFor the array, the following data of the index element should move to the\r\nright.\r\n5. Repeat (4) one hundred times (i.e., add 100 random numbers)\r\n6. Compute the processing time of (4) and (5), and print it.\r\n7. Now, repeat (1) - (6) setting N with 500, 1000, and 2000.\r\nThe C/C++ program should print the progress and processing time (important).\r\nThe output may look like:\r\n-----------------------------------------------------------------------------\r\nN = 100\r\n1) We are generating data (N=100)\r\n2) New data are being added\r\n3) Processing time\r\nArray: 5s\r\nLinked List: 2s\r\n--\r\nN = 500\r\n1) We are generating data (N=100)\r\n2) New data are being added\r\n3) Processing time\r\nArray: 25s\r\nLinked List: 10s\r\n--\r\nN = 1000\r\n1) We are generating data (N=100)\r\n2) New data are being added\r\n3) Processing time\r\nArray: 250s\r\nLinked List: 100s\r\n--\r\nN = 1000\r\n1) We are generating data (N=100)\r\n2) New data are being added\r\n3) Processing time\r\nArray: 2500s\r\nLinked List: 1000s\r\n
ID do Projeto: 9030515

Sobre o projeto

6 propostas
Projeto remoto
Ativo há 8 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
Concedido a:
Avatar do Usuário
Hi - I am a professional C++ Programmer - I've been programming in C++ since last 5 years. I contribute to open source C++ projects. You can see my code here ([login to view URL]). I also have formal CS education (Bachelors in Computer Science), So I have taken more then 7 courses where C++ was used (Programming Intro, OOP, Data Structures, Algorithm Analysis, Operating Systems,Artificial Intelligence & Compiler Construction) - I write high quality fully commented code. Let me know if you have any questions. Thanks!
$45 USD em 1 dia
5,0 (2 avaliações)
2,9
2,9
6 freelancers estão ofertando em média $33 USD for esse trabalho
Avatar do Usuário
I did many projects by array and linked list so I could help. When does it need to be done?
$25 USD em 1 dia
5,0 (7 avaliações)
2,7
2,7
Avatar do Usuário
I would like to bid this job because I am really suitable for job description: First: I am an C++/C/Mathlab/Electronics engineer who is very familiar with C++/C/Mathlab/VHDL/Verilog. In fact, I have done so many project of VHDL/Verilog(Karatsuba multiplier, Nintendo design, encryption algorithm like Sax Hash, Bernstein Hash, HummingBird...Especialy, I participated in a Walker Recognition project(data from Camera to Human Detection(image processing-HOG feature and Adaboost) and display in VGA). Besides,,I implemented the image conpression (wavelet transform). Also, I am very good in English (IELTS 6.0) and I have several year of researching so I can fully understand your requirement and understand fully about the papers and write the academic report.. Please contact me and let me know if you want any special requirement and do with lower price. Thank you.
$50 USD em 4 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
c++ professional
$35 USD em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Предложение еще не подано
$20 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
commerce, United States
5,0
1
Método de pagamento verificado
Membro desde dez. 3, 2015

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.