欧美在线专区-欧美在线伊人-欧美在线一区二区三区欧美-欧美在线一区二区三区-pornodoxxx中国妞-pornodoldoo欧美另类

position>home>Basketball

代寫(xiě)Hashtable編程、代做python/c++程序設(shè)計(jì)

代寫(xiě)
  Assignment 3: Hashtable
 1/3
Assignment 3: Hashtable
Due No Due Date
Points 100
Submitting a file upload
Start Assignment
Language: Java or Python or C++
Task Description: Complete the following task.
Task-1: Implement a Hash data structure from scratch. You can’t use built-in Hash or Dictionary APIs.
You can use a built-in Array or List or your custom-built LinkedList. The Hash class must have the
following functions and fields -
HashTable: A fixed-size array or list. Depending on your hash function, this array or list can be
one-dimensional or two-dimensional.
hash(x): A hash function that converts a string x to an integer, i.e., index in the hashtable. You
can implement any hash function described in the textbook. Your hash function must have a
collision-resolution mechanism.
insert(x): Insert string x to the HashTable in the index returned by hash(x).
size(): Returns the size of the elements, i.e., the number of keys.
Write sample test cases to validate your implementation.
Task-2: Read and parse each word from the file pride-and-prejudice.txt
(https://canvas.eee.uci.edu/courses/68108/files/28223336?wrap=1)
(https://canvas.eee.uci.edu/courses/68108/files/28223336/download?download_frd=1) . Note that this file is
very large; therefore, reading the text at once will crash your program. You should read the text line by
line. To split a line into words, you can consider anything other than alpha-numeric (i.e. [a-zA-Z0-9])
characters as delimiters, for example, ‘\n’, ‘\t’, ‘,’, ‘.’ etc.
An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically
using all the original letters exactly once. For example, `mango` and `gonma` are anagrams containing
the same characters. Write a function that would find out how many unique anagram-root words are
there in the novel. An anagram-root word is a word that is derived by sorting the word by characters. For
example, `mango`’s anagram root is `agmno`.
To find the number of unique anagram roots, do the following steps.
  Assignment 3: Hashtable
 2/3
SWE-240P-Rubric
Step-1: While you parse each word from the file, sort the words by character. You can use any
built-in sorting API.
Step-2: Insert the sorted words in the hashtable you implemented above. If the word is already
present in the hashtable, then skip it.
Step-3: Once all the words have been sorted and inserted (or skipped), call the size() function of
the Hash class.
Note: You have to implement the classes from scratch. Please don’t engage in plagiarism in any
manner. See UCI’s policy on academic integrity (https://aisc.uci.edu/students/academic?integrity/promote-integrity.php (https://aisc.uci.edu/students/academic-integrity/promote-integrity.php) ).
Taking help from online materials is okay, but if you have taken any help online, please link the sources
in the comment inside the code.
  Assignment 3: Hashtable
 3/3
Total Points: 100
Criteria Ratings Pts
20 pts
30 pts
50 pts
Code Quality and Structure
-- Does the code have meaningful variable/method
names
-- Does the code contain comments where necessary?
-- Is the code organized and structured?
-- Is the code properly formatted/indented?
20 pts
Excellent
18 pts
Good
16 pts
Satisfactory
0 pts
No
Marks
Functionality and Correctness
-- Does the code run without any compilation errors
-- Does the implementation handle edge cases?
-- Does the code pass sample test cases?
-- Does the code pass new test cases?
30 pts
Excellent
27 pts
Good
24 pts
Satisfactory
0 pts
No
Marks
Presentation (Demo)
-- How well does the student explain the implemented
approach?
-- How well does the student walk through the
implementation?
-- How well does the student explain the trade-off (e.g.,
time, space complexity)?
-- How well does the student answer any relevant
questions?
50 pts
Excellent
45 pts
Good
40 pts
Satisfactory
0 pts
No
Marks
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

Popular articles

主站蜘蛛池模板: 果冻传媒91制片厂| ssss国产在线观看| 国产精品亲子乱子伦xxxx裸| 中文字幕热久久久久久久| 女人被男人躁到呻吟的| 翁想房中春意浓1-28| 美女和男生一起差差差| 亚洲国产免费| 女的张开腿让男人桶爽30分钟| 在线看污网站| 大陆黄色a级片| 亚洲精品国产综合久久一线| 国产成人在线电影| 2021韩国三级理论电影网站| 日日日操| 动漫h肉yin文| 欧美日韩一区二区成人午夜电影| 多人乱p欧美在线观看| 欧美亚洲精品suv| 国产91精品久久久久久久| 日产精品卡2卡三卡乱码网址| 日本一本高清| yy6080欧美三级理论| 欧美性色黄大片www喷水| 37大但人文艺术a级| 免费高清a级毛片在线播放| 成品煮伊在2021一二三久| 躁天天躁中文字幕在线| 秋霞影院国产| 热99re久久免费视精品频软件| 向日葵app看片视频| 国产高清一级伦理| 男女无遮挡猛进猛出免费观看视频 | 波多野结衣加勒比| 向日葵app看片视频| 欧美八十老太另类| 动漫洗濯屋| 波多野结衣不打码视频| 最好看的2018中文字幕国语免费| 最近中文字幕高清中文字幕电影二| 国产三级免费观看|