data structures and algorithms, Java -- 2

完了済み 投稿 7年前 着払い
完了済み 着払い

1. Assess how the choice of data structures and algorithm design methods impacts the performance of programs.

 Write programs using object-oriented design principles.

 Solve problems using data structures such as linear lists, stacks, queues, hash tables, binary trees, heaps and binary search trees

.  Solve problems using algorithm design methods such as the greedy method, divide and conquer, dynamic programming and backtracking.

Download the zip file containing an Eclipse project. Implement your solutions to the problems below in the Eclipse project. The project also contains unit tests which you should use to test your work.

1. Hashtable. Complete the implementation of the hashtable in the class ci284.ass2.htable.Hashtable.java. When a new Hashtable is created, the array should be initialised with a size which is the smallest prime number larger than or equal to the requested initial capacity. The default probe type should be LINEAR_PROBE. Store objects in the array using the Pair class to store both key and value. When storing a new key/value pair, use the findEmpty method to find an unoccupied location starting the search at the value found by hashing the key and with a stepNum of zero. If this position is occupied, use the getNextLocation method (which is implemented for Version 2 – 16 Oct 12 you) to find the next location to search based on the probe type being used, and call findEmpty again with the new location. You will also need to use the getNextLocation method when implementing find, which searches for an existing value – again, start the search at the value calculated by hashing the key. If there is no Pair object at that location, the key was not found. If there is a Pair object at that location then either its key matches the one we're looking for, in which case return the value associated with the Pair, or it doesn't match. If it doesn't match, we need to find the next location to search using getNextLocation, and call find again with this new value.

2. Complexity. Using a multi-line comment at the top of the Hashtable class, describe the complexity of the get and put methods in your implementation, include the best, worst and average-case scenarios. What happens to the complexity as the load factor increases, and what would the worst-case complexity be if the load factor were increased to 1.0?

アルゴリズム Java ソフトウェアアーキテクチャ

プロジェクトID: #12777710

プロジェクトについて

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

アワード:

manu988

---- ---- ---- ---- Hi. Got your referral from a friend. Plz msg. Appreciate the chance. ----- ---- ---- ----

£22 GBP 2日以内
(3レビュー)
2.3

9人のフリーランサーが、平均£24 で、この仕事に入札しています。

dobreiiita

Hello I am Java expert and interested in this project. I have reviewed the attached codes and confident to handle it perfectly. I have a lot of experience in helping in students with assignments, so I will k もっと

£20 GBP 1日以内
(430件のレビュー)
7.4
raiakanksha49

Hello sir/ma'am.. I have gone through your project domain..and i want to complete your project. I have 5 years of experience and i can complete your project within your budget.. Kindly offer me this project.. Eager もっと

£18 GBP 1日以内
(10件のレビュー)
5.0
uuusi

I can perfectly perform your both of these tasks. Please allow me to serve you my services once. Thank you so much. :) Hope to see you in my inbox..:)

£30 GBP 2日以内
(16件のレビュー)
4.2
gauravmankotia

Hello there, I am a java developer with an experience of 3.5 years in complex programming stuff. I can help you in this project and looking forward o work on it. Waiting for your positive reply with more project det もっと

£23 GBP 1日以内
(6件のレビュー)
3.1
ebinthomas

I am a professional java developer(Senior Software Engineer) with 4.5 years of experience in Java, J2EE, REST, Jersey, Data Structures and Algorithms, SQL and NoSQL(MongoDB, Redis), Spring, Hibernate, elastic search, もっと

£20 GBP 1日以内
(5件のレビュー)
2.8
vicentebc

Hello, im an IT proggrammer specialized in Java so I can help you with data structures and optimize CPU resources

£18 GBP 1日以内
(0件のレビュー)
0.0