合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代寫Hashtable編程、代做python/c++程序設計
        代寫Hashtable編程、代做python/c++程序設計

        時間:2024-10-07  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



          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
        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





         

        掃一掃在手機打開當前頁
      1. 上一篇:UMEECS542代做、代寫Java/c++編程語言
      2. 下一篇:MA2552代做、代寫matlab設計程序
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
      4. 上海廠房出租 短信驗證碼 酒店vi設計

        主站蜘蛛池模板: 国产精品 一区 在线| 久久精品动漫一区二区三区| 丰满人妻一区二区三区视频| 久久亚洲中文字幕精品一区| 高清一区高清二区视频| 亚洲成AV人片一区二区密柚| 国产精品无码一区二区在线观一| 成人精品一区二区电影| 国产精品一区在线播放| 国产一区二区三区播放| 亚洲AV无码一区二区大桥未久| 成人区精品一区二区不卡亚洲| 北岛玲在线一区二区| 国产一区二区精品| 国产欧美色一区二区三区| 精品视频在线观看你懂的一区 | 无码国产精品一区二区免费I6| 亚洲国产成人一区二区三区 | 中文字幕一区二区三区在线播放| 日本一区二区三区精品国产| 午夜精品一区二区三区免费视频| 亚洲一区二区三区国产精华液| 成人区人妻精品一区二区不卡网站| 亚洲av综合av一区| 一区二区三区中文字幕| 国产精品一区二区久久精品| 国产日韩一区二区三免费高清| 精品久久综合一区二区| 99精品国产一区二区三区2021| 中文字幕一区日韩在线视频 | 国产免费播放一区二区| 精品国产亚洲第一区二区三区| 久久一区二区精品| 人妻久久久一区二区三区| 99精品国产一区二区三区| 成人免费视频一区二区| 免费无码一区二区三区蜜桃大| 97久久精品无码一区二区天美 | 亚洲一区二区成人| 激情亚洲一区国产精品| 国产成人精品日本亚洲专一区 |