Find Jobs
Hire Freelancers

data structures

$10-30 USD

完了済み
投稿日: 8年以上前

$10-30 USD

完了時にお支払い
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: 9030515

プロジェクトについて

6個の提案
リモートプロジェクト
アクティブ 8年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 1日以内
5.0 (2 レビュー)
2.9
2.9
この仕事に6人のフリーランサーが、平均$33 USDで入札しています
ユーザーアバター
I did many projects by array and linked list so I could help. When does it need to be done?
$25 USD 1日以内
5.0 (7 レビュー)
2.7
2.7
ユーザーアバター
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 4日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
c++ professional
$35 USD 2日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Предложение еще не подано
$20 USD 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
commerce, United States
5.0
1
お支払い方法確認済み
メンバー登録日:12月 3, 2015

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。